Slideshow Plugin : no images
-
- Phoca Newbie
- Posts: 7
- Joined: 05 Apr 2009, 23:26
Slideshow Plugin : no images
I have installed the Phoca Gallery slideshow plugin. I am calling it from one of the articles on my home page. Example: {pgslideshow id=1|width=300|height=200|delay=3000|image=L}
In the above example, id=1, is a phoca gallery category whith many images
I have no image when my article is publish : only texte of article.
Can you help me ?
For information, I have no problem with Phoca Gallery plugin
In the above example, id=1, is a phoca gallery category whith many images
I have no image when my article is publish : only texte of article.
Can you help me ?
For information, I have no problem with Phoca Gallery plugin
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Slideshow Plugin : no images
??? Hi, is the plugin enabled (published)?
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 05 Apr 2009, 23:26
Re: Slideshow Plugin : no images
Yes, the plugin is published.
Plugin's management is as follow :
5 Phoca Gallery Plugin V Public content phocagallery 34
6 Phoca Gallery Slideshow Plugin V Public content phocagalleryslideshow 35
Plugin's management is as follow :
5 Phoca Gallery Plugin V Public content phocagallery 34
6 Phoca Gallery Slideshow Plugin V Public content phocagalleryslideshow 35
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Slideshow Plugin : no images
??? has the category ID 1 ?
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 05 Apr 2009, 23:26
Re: Slideshow Plugin : no images
Yes,
Content of my article is :
{pgslideshow id=1|width=300|height=200|delay=3000|image=M}
{phocagallery view=category|categoryid=1|imageid=0|limitstart=0| limitcount=2|fontcolor=#B88A00|bgcolorhover=#BFFF0 0}
For phocacallery it's OK, but nothing for pgslideshow
Content of my article is :
{pgslideshow id=1|width=300|height=200|delay=3000|image=M}
{phocagallery view=category|categoryid=1|imageid=0|limitstart=0| limitcount=2|fontcolor=#B88A00|bgcolorhover=#BFFF0 0}
For phocacallery it's OK, but nothing for pgslideshow
-
- Phoca Newbie
- Posts: 2
- Joined: 27 Apr 2009, 16:47
Re: Slideshow Plugin : no images
Same problem for me.
It appears that the picture placeholder is there but no images appears
In fact the code returns a truncated URL for the pictures
Even if the array is created correctly in the page. The result is not complete
I assume that the "i" is just the beginning of the image path
Should we change something in the javascript code of the plugin ?
Thanks for your help
Fred
It appears that the picture placeholder is there but no images appears
In fact the code returns a truncated URL for the pictures
Even if the array is created correctly in the page. The result is not complete
Code: Select all
<script type="text/javascript">
fadeimages9926752856 = new Array();
fadeimages9926752856[0] = ['i', '', ''];
fadeimages9926752856[1] = ['i', '', ''];
function fadeshowladen() {
new fadeshow(fadeimages9926752856, 530, 300, 0, 1000, 1, 'R');
}
Should we change something in the javascript code of the plugin ?
Thanks for your help
Fred
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Slideshow Plugin : no images
Hi, I have tested the code now, there is no problem for me
If I paste this into article:
{pgslideshow id=1|width=300|height=200|delay=3000|image=M}
{phocagallery view=category|categoryid=1|imageid=0|limitstart=0| limitcount=2|fontcolor=#B88A00|bgcolorhover=#BFFF0 0}
then I get this in html code:
so if there is a "i", there is some problem with getting the image name from database ???, maybe while adding it into the script ???
Jan
If I paste this into article:
{pgslideshow id=1|width=300|height=200|delay=3000|image=M}
{phocagallery view=category|categoryid=1|imageid=0|limitstart=0| limitcount=2|fontcolor=#B88A00|bgcolorhover=#BFFF0 0}
then I get this in html code:
Code: Select all
fadeimages9927451704 = new Array();
fadeimages9927451704[0] = ['/J1510/images/phocagallery/new/thumbs/phoca_thumb_m_binary.png', '', ''];
fadeimages9927451704[1] = ['/J1510/images/phocagallery/new/thumbs/phoca_thumb_m_doc.png', '', ''];
fadeimages9927451704[2] = ['/J1510/images/phocagallery/new/thumbs/phoca_thumb_m_document.png', '', ''];
fadeimages9927451704[3] = ['/J1510/images/phocagallery/new/thumbs/phoca_thumb_m_document2.png', '', ''];
fadeimages9927451704[4] = ['/J1510/images/phocagallery/new/thumbs/phoca_thumb_m_empty.png', '', ''];
fadeimages9927451704[5] = ['/J1510/images/phocagallery/new/thumbs/phoca_thumb_m_empty_ascii.png', '', ''];
fadeimages9927451704[6] = ['/J1510/images/phocagallery/new/thumbs/phoca_thumb_m_file_temporary.png', '', ''];
fadeimages9927451704[7] = ['/J1510/images/phocagallery/new/thumbs/phoca_thumb_m_font.png', '', ''];
fadeimages9927451704[8] = ['/J1510/images/phocagallery/new/thumbs/phoca_thumb_m_font_bitmap.png', '', ''];
fadeimages9927451704[9] = ['/J1510/images/phocagallery/new/thumbs/phoca_thumb_m_font_truetype.png', '', ''];
fadeimages9927451704[10] = ['/J1510/images/phocagallery/new/thumbs/phoca_thumb_m_binary.png', '', ''];
function fadeshowladen() {
new fadeshow(fadeimages9927451704, 300, 200, 0, 3000, 1, 'R');
}
if(window.onload) {
var temp = window.onload;
window.onload=function(e) {
temp(e);
fadeshowladen();
};
}
else{
window.onload=function(e) {
fadeshowladen();
};
}
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 05 Apr 2009, 23:26
Re: Slideshow Plugin : no images
I have no image, but my code is as follow :
????????????????????
Code: Select all
</div>
results <div class="phocagalleryslideshow" style="text-align:center;"><div id="phocagallerycontent"></div>
<script type="text/javascript">
fadeimages9928209392 = new Array();
fadeimages9928209392[0] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_IMG_1546.JPG', '', ''];
fadeimages9928209392[1] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_PICT0372.JPG', '', ''];
fadeimages9928209392[2] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_IMG_1546comp.JPG', '', ''];
fadeimages9928209392[3] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_IMG_1546comp2.JPG', '', ''];
fadeimages9928209392[4] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_PICT0342.JPG', '', ''];
fadeimages9928209392[5] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_PICT0345.JPG', '', ''];
fadeimages9928209392[6] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_PICT0356.JPG', '', ''];
fadeimages9928209392[7] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_PICT0361.JPG', '', ''];
fadeimages9928209392[8] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_PICT0362.JPG', '', ''];
fadeimages9928209392[9] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_PICT0372.JPG', '', ''];
fadeimages9928209392[10] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_PICT0374.JPG', '', ''];
fadeimages9928209392[11] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_PICT0380.JPG', '', ''];
fadeimages9928209392[12] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_PICT0384.JPG', '', ''];
fadeimages9928209392[13] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_PICT0397.JPG', '', ''];
fadeimages9928209392[14] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_PICT0407.JPG', '', ''];
fadeimages9928209392[15] = ['/sitejoomla00/images/phocagallery/Bellegarde2008/thumbs/phoca_thumb_l_PICT0423.JPG', '', ''];
function fadeshowladen() {
new fadeshow(fadeimages9928209392, 605, 217, 0, 3000, 1, 'R');
}
if(window.onload) {
var temp = window.onload;
window.onload=function(e) {
temp(e);
fadeshowladen();
-
- Phoca Member
- Posts: 16
- Joined: 22 Aug 2009, 17:35
- Location: Portugal
- Contact:
Re: Slideshow Plugin : no images
hello,
this same thing happens to me: there is the code calling the pictures, but nothing is shown
I found out this is some incompatibility with the tcimageslider module..
regards,
luis raposo
this same thing happens to me: there is the code calling the pictures, but nothing is shown
I found out this is some incompatibility with the tcimageslider module..
regards,
luis raposo
-
- Phoca Member
- Posts: 16
- Joined: 22 Aug 2009, 17:35
- Location: Portugal
- Contact:
Re: Slideshow Plugin : no images
hi Jan,
I found out some incompatibility issues with other modules/plugins.
This is common when adding "onload" events, and can be fixed by replacing the following code on phocagalleryslideshow.php, line #164
+info on http://www.brothercake.com/site/resourc ... ts/onload/
regards,
luis raposo
I found out some incompatibility issues with other modules/plugins.
This is common when adding "onload" events, and can be fixed by replacing the following code on phocagalleryslideshow.php, line #164
Code: Select all
/* kotasbiketeam */
/*
$script .= "if(window.onload) {\n";
$script .= "var temp = window.onload;\n";
$script .= "window.onload=function(e) {\n";
$script .= "temp(e);\n";
$script .= "fadeshowladen".$c."();\n";
$script .= "};\n}\n else{\n window.onload=function(e) {\n";
$script .= "fadeshowladen".$c."();\n";
$script .= "};\n}";
*/
$script .= " //setup onload function"." \n"
. " if(typeof window.addEventListener != 'undefined') {"." \n"
. " //.. gecko, safari, konqueror and standard"." \n"
. " window.addEventListener('load', fadeshowladen".$c.", false);"." \n"
. " } else if(typeof document.addEventListener != 'undefined') {"." \n"
. " //.. opera 7"." \n"
. " document.addEventListener('load', fadeshowladen".$c.", false);"." \n"
. " } else if(typeof window.attachEvent != 'undefined') {"." \n"
. " //.. win/ie"." \n"
. " window.attachEvent('onload', fadeshowladen".$c.");"." \n"
. "}"." \n"
;
regards,
luis raposo