Page 1 of 2
Thumbnail not displaying in Phoca-Control Panel-Images
Posted: 09 Apr 2017, 19:16
by arthurjohnston
PHP7.1.3, Joomla 3.6, Phoca Gallery 4.3.4.
The thumbnails for images listed within the Phoca-Control Panel-Images, are not displaying. Although, Firebug, lists the image as having a size of "X=200; Y=150".
I am unable to upload my screen captures to demonstrate the issue. You would think that after participating in the Forum the past 6 years, that would be available.
Re: Thumbnail not displaying in Phoca-Control Panel-Images
Posted: 09 Apr 2017, 20:14
by christine
Hi,
just upload your image to some external service like imgur is and then copy the bb code (under get share links) from your images on imgur and paste it here. Thank you.
Kind regards, Christine
Re: Thumbnail not displaying in Phoca-Control Panel-Images
Posted: 09 Apr 2017, 22:28
by arthurjohnston
Images:
Re: Thumbnail not displaying in Phoca-Control Panel-Images
Posted: 09 Apr 2017, 23:05
by christine
Hi,
did you enable Thumbnail creation?
https://www.phoca.cz/documents/2-phoca-g ... e-joomla-3
Kind regards, Christine
Re: Thumbnail not displaying in Phoca-Control Panel-Images
Posted: 10 Apr 2017, 00:26
by arthurjohnston
Yes, this is a NEW installation, on a private server, and I used Jan's favorite method of multiple uploads.
Re: Thumbnail not displaying in Phoca-Control Panel-Images
Posted: 10 Apr 2017, 14:03
by christine
Hi,
on your screenshot I see: ... phoca_thumb_l ...
Missing something like this: ... <img src="/images/phocagallery/.../.../.../thumbs/phoca_thumb_m_img_6066.jpg" alt="" class="pg-image img img-responsive" itemprop="thumbnail" /></a>
For administration: "Small Thumbnails" .../phoca_thumb_s .... are used.
- Did you enable/create small/medium thumbnails?
- Check also correct image file name, as I can see some spaces (?)
https://www.phoca.cz/documents/2-phoca-g ... ing-images
- "getimagesize" > on server activated? see: PG > Info
Kind regards, Christine
Re: Thumbnail not displaying in Phoca-Control Panel-Images
Posted: 11 Apr 2017, 04:30
by arthurjohnston
Code: Select all
on your screenshot I see: ... phoca_thumb_l ...
Missing something like this: ... <img src="/images/phocagallery/.../.../.../thumbs/phoca_thumb_m_img_6066.jpg" alt="" class="pg-image img img-responsive" itemprop="thumbnail" /></a>
The Small Thumbnails exist in the "thumb" directory.
For administration: "Small Thumbnails" .../phoca_thumb_s .... are used.
Small Thumbnails are activated.
The fie names do have spaces... see last paragraph in this reply.
- "getimagesize" > on server activated? see: PG > Info
Yes, getimagesize is activated.
The site I am re-constructing was hosted and operational on another server. I am using the same files and Phoca configuration as with the Old Server.
The only difference between the two servers is: (1) New server is a local server; (2) New server is Apache2; (3) New server is PHP7.1.3, old server was PHP5.???;
Re: Thumbnail not displaying in Phoca-Control Panel-Images
Posted: 11 Apr 2017, 19:29
by christine
Hi,
The only idea now I could have is: Try with PHP 5.6 or PHP 7.0 and maybe to re-create the thumbnails.
Kind regards, Christine
Re: Thumbnail not displaying in Phoca-Control Panel-Images
Posted: 24 May 2017, 15:36
by Mategm
Hello!
I don't find the problem source, but i found it a quick solution!
In this file: administrator/components/com_phocagallery/libraries/phocagallery/render/renderadminviews.php
in the line 314. Change from this:
width="'.$correctImageRes['width'].'"
to:
width="50"
Good luck!
Gabor.
Re: Thumbnail not displaying in Phoca-Control Panel-Images
Posted: 26 May 2017, 04:50
by arthurjohnston
@christine.
Downgraded to PHP7.0 everything works.
Take care,