Universal module, custom resizing does not work phpthumb - generated images are broken

More
4 years 3 months ago - 4 years 3 months ago #79103 by weCombine
dear flexicontent-team,

i have a problem with phpthumb. it doesn't show any image which is generated by "phpThumb.php?src=/images/stories ..."
i first noticed it in the backend, when i enable the "resize"-funktion in the flexicontent-module, i also noticed the broken images.

i have php 7.4 and gd installed (also tried php7.3).
joomla 3.9.20 and flexicontent 3.3.7
on my server i have about 5 other flexicontent, and everything is working fine.

any ideas?
thanks,
bart
Last edit: 4 years 3 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago - 4 years 3 months ago #79106 by ggppdk
Hello

edit the broken image URL and try to view the image directly

server_url/subfolder_path_to_image
e.g.
https: // some_folder/some_image.png

is the image viewable ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 4 years 3 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #79110 by weCombine
many thanks for your time and feedback.

in the frontend, when i try to see the image directly, it will be shown.
in the backend not, at least till i changed following:
- the htacces from "/uploads"-directory
- the change %2F into / for ex %2F%2Fcomponents%2Fcom_flexicontent%2Fuploads%2xxxxx.jpg

best,
bart

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #79115 by ggppdk
Hello

you may send me access to the website and mention a module (its ID and title) that has custom resized images not working


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #79143 by ggppdk
Hello

i have been on vacations

i have looked at it, and is see an PHP error that seems to be related to PHP 7.4+

about trying PHP 7.3
if you switch to PHP 7.3 temporarily to test,
still the same broken cached image will be returned phpThumb cache would need to be cleared when doing such a test

i will try to reproduce this locally


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #79145 by weCombine
hope you had a relax holiday.

and... you nailed it: if i switch to php7.3, the rendered images are shown again.
many thanks already!

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.423 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline