I have to put couple separate images in my article, so I've created something like (code copied from #_content by mysqldump):
Code: Select all
{phocagallery view=category|categoryid=6|\r\nimageid=49|limitstart=0|limitcount=2|\r\nfontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|\r\nbordercolor=#B88A00|bordercolorhover=#86B300|\r\ndetail=3|displayname=0|displaydetail=0|displaydownload=0|displaybuttons=0|float=left}\r\n\r\n{phocagallery view=category|categoryid=6|\r\nimageid=51|limitstart=0|limitcount=2|\r\nfontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|\r\nbordercolor=#B88A00|bordercolorhover=#86B300|\r\ndetail=3|displayname=0|displaydetail=0|displaydownload=0|displaybuttons=0|float=left}\r\n\r\n{phocagallery view=category|categoryid=6|\r\nimageid=50|limitstart=0|limitcount=2|\r\nfontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|\r\nbordercolor=#B88A00|bordercolorhover=#86B300|\r\ndetail=3|displayname=0|displaydetail=0|displaydownload=0|displaybuttons=0|float=left}\r\n\r\n{phocagallery view=category|categoryid=6|\r\nimageid=52|limitstart=0|limitcount=2|\r\nfontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|\r\nbordercolor=#B88A00|bordercolorhover=#86B300|\r\ndetail=3|displayname=0|displaydetail=0|displaydownload=0|displaybuttons=0|float=left}\r\nNew prototypes\r\n<hr id="system-readmore" />\r\nArticle details...
The code was created by copying from Displaying Phoca Gallery Plugin page. It worked well in couple articles with 2 or 3 images, but suddenly with the code above I've got very strange results - I've go 6 images, but really it was images 49 and 51 repeated 3 times. I've thought that it's because of "limitcount=2", but after changing it to "limitcount=1", I've got image 49 repeated 4 times.
Eventually I've removed all "\r\n"s from within the plugin code, so I've got:
Code: Select all
{phocagallery view=category|categoryid=6|imageid=49|limitstart=0|limitcount=2|fontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|bordercolor=#B88A00|bordercolorhover=#86B300|detail=3|displayname=0|displaydetail=0|displaydownload=0|displaybuttons=0|float=left}\r\n\r\n{phocagallery view=category|categoryid=6|imageid=51|limitstart=0|limitcount=2|fontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|bordercolor=#B88A00|bordercolorhover=#86B300|detail=3|displayname=0|displaydetail=0|displaydownload=0|displaybuttons=0|float=left}\r\n\r\n{phocagallery view=category|categoryid=6|imageid=50|limitstart=0|limitcount=2|fontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|bordercolor=#B88A00|bordercolorhover=#86B300|detail=3|displayname=0|displaydetail=0|displaydownload=0|displaybuttons=0|float=left}\r\n\r\n{phocagallery view=category|categoryid=6|imageid=52|limitstart=0|limitcount=2|fontcolor=#B88A00|bgcolor=#FFBF00|bgcolorhover=#BFFF00|imagebgcolor=#FFD24D|bordercolor=#B88A00|bordercolorhover=#86B300|detail=3|displayname=0|displaydetail=0|displaydownload=0|displaybuttons=0|float=left}\r\nNew prototypes\r\n<hr id="system-readmore" />\r\nArticle details...
Best regards,
Łukasz Indeka