HI
I have have spent the best part of around 3 days now looking at the forum - the demos and any other sources of information that i have found. And for the life of me i can not get it to show images within articles.
I have copied all the codes across, put in my own {and} and changed the revelant category id to the id of my categorys and cannot get them to work! The plugin is enabled. I am using phoca gallery 2.2.3 and plugin 2.1 (the latest version).
{phocagallery view=category|categoryid=5|
imageid=37|limitstart=0|limitcount=5|
fontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|
bordercolor=#B88A00|bordercolorhover=#86B300|
detail=3|displaybuttons=1|displayname=1|displaydetail=1|displaydownload=1|float=center}
Any hel pwould be much appreciated, as i am stumped!!!!
Many Thanks
Problem putting images in articles
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problem putting images in articles
Hi, what is displayed on your site? Did you try to remove all spaces in the code, so no this:
{phocagallery view=category|categoryid=5|
imageid=37|limitstart=0|limitcount=5|
but this will be pasted:
{phocagallery view=category|categoryid=5|imageid=37|limitstart=0|limitcount=5|...
Jan
{phocagallery view=category|categoryid=5|
imageid=37|limitstart=0|limitcount=5|
but this will be pasted:
{phocagallery view=category|categoryid=5|imageid=37|limitstart=0|limitcount=5|...
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 27 Mar 2009, 14:38
Re: Problem putting images in articles
{phocagallery view=category|categoryid=5|imageid=37|limitstart=0|limitcount=5|fontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00imagebgcolor=#FFD24D|bordercolor=#B88A00|bordercolorhover=#86B300|
detail=3|displaybuttons=1|displayname=1|displaydetail=1|displaydownload=1|float=center}
that is the code i put in my article,
do you just put the code in with the article? if it is right, does it automatically turn into the image? or is the image only viewable once the article is saved and live? i try looking at in preview and it just somes up with the script......
detail=3|displaybuttons=1|displayname=1|displaydetail=1|displaydownload=1|float=center}
that is the code i put in my article,
do you just put the code in with the article? if it is right, does it automatically turn into the image? or is the image only viewable once the article is saved and live? i try looking at in preview and it just somes up with the script......
-
- Phoca Newbie
- Posts: 2
- Joined: 29 Mar 2009, 23:29
Re: Problem putting images in articles
Hello.
I think there are two problems to be solved:
1. collision of two parameters: 'imageid' and 'limitstart'
2. counting for these two parameters starts at 0 not at 1
Reading your code:
{phocagallery view=category|categoryid=5|imageid=37|limitstart=0|limitcount=5|fontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|bordercolor=#B88A00|bordercolorhover=#86B300|detail=3|displaybuttons=1|displayname=1|displaydetail=1|displaydownload=1|float=center}
I assumed that you wanted to display 5 pictures starting from picture number 37 located in category number 5.
Ad.1: You should omit the 'imageid' parameter
Ad.2: The limitstart parameter should contain value 36
Additionally I am not sure if the last parameter (float) can be set to 'center' value. Jan described only two values for it (left and right) in the documentation.
Finally in my opinion your code should look like this:
{phocagallery view=category|categoryid=5|limitstart=36|limitcount=5|fontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|bordercolor=#B88A00|bordercolorhover=#86B300|detail=3|displaybuttons=1|displayname=1|displaydetail=1|displaydownload=1|float=left}
Pay attention that the 'categoryid' parameter is counted from 1 (not from 0) so you don't need to decrease it.
Have a nice site
To Jan: great job, man. Sdravim s Polska.
I think there are two problems to be solved:
1. collision of two parameters: 'imageid' and 'limitstart'
2. counting for these two parameters starts at 0 not at 1
Reading your code:
{phocagallery view=category|categoryid=5|imageid=37|limitstart=0|limitcount=5|fontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|bordercolor=#B88A00|bordercolorhover=#86B300|detail=3|displaybuttons=1|displayname=1|displaydetail=1|displaydownload=1|float=center}
I assumed that you wanted to display 5 pictures starting from picture number 37 located in category number 5.
Ad.1: You should omit the 'imageid' parameter
Ad.2: The limitstart parameter should contain value 36
Additionally I am not sure if the last parameter (float) can be set to 'center' value. Jan described only two values for it (left and right) in the documentation.
Finally in my opinion your code should look like this:
{phocagallery view=category|categoryid=5|limitstart=36|limitcount=5|fontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|bordercolor=#B88A00|bordercolorhover=#86B300|detail=3|displaybuttons=1|displayname=1|displaydetail=1|displaydownload=1|float=left}
Pay attention that the 'categoryid' parameter is counted from 1 (not from 0) so you don't need to decrease it.
Have a nice site
To Jan: great job, man. Sdravim s Polska.
- caro84g
- Phoca Hero
- Posts: 1369
- Joined: 11 Feb 2008, 17:52
- Location: Holland
- Contact:
Re: Problem putting images in articles
Hi,
First: if you look in the preview in the backend you only see code, you don't see the image. To see the image you need to save the article and preview it on the frontend.
if you enter another value than 0 in imageid, then imageid is used, otherwise the limitparameter is used. So omit imageid if you want to
The limitstart parameter uses the 'ordering' number and it doesn't use the imageid! (so limitstart=36 means: start at the 36th image in that category).
Regards, Carolien
First: if you look in the preview in the backend you only see code, you don't see the image. To see the image you need to save the article and preview it on the frontend.
if you enter another value than 0 in imageid, then imageid is used, otherwise the limitparameter is used. So omit imageid if you want to
The limitstart parameter uses the 'ordering' number and it doesn't use the imageid! (so limitstart=36 means: start at the 36th image in that category).
Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Backup before you do any major change to your website (and test first)
-
- Phoca Newbie
- Posts: 4
- Joined: 27 Mar 2009, 14:38
Re: Problem putting images in articles
Hi,
Thank you very much for all your help! absolutely brilliant!!!
Got it working!
Great plugin! Well done guys!!
just one more thing, is there a list of codes for the colours somewhere???
Thank you very much for all your help! absolutely brilliant!!!
Got it working!
Great plugin! Well done guys!!
just one more thing, is there a list of codes for the colours somewhere???
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problem putting images in articles
If you find Phoca extensions useful, please support the project