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

More
5 years 7 months ago - 5 years 6 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: 5 years 6 months ago by ggppdk.

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

More
5 years 7 months ago - 5 years 7 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 review. Thanks!
Last edit: 5 years 7 months ago by ggppdk.

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

More
5 years 7 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
5 years 7 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 review. Thanks!

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

More
5 years 6 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 review. Thanks!

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

More
5 years 6 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.

More
5 years 6 months ago #79149 by ggppdk
Hello

This must indeed be a PHP 7.4 ,
I found out that a fix for this was made recently

github.com/JamesHeinrich/phpThumb/commit...2d9b406f16f6292da784

will add it to next release


-- 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 review. Thanks!

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

More
5 years 6 months ago #79152 by weCombine

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

More
4 years 9 months ago - 4 years 9 months ago #80186 by ekwax
Hello !
I have the same problem with Phpthumb.

In my articles, Images are broken in the backend, but showing in the front-end...
Recently, i discovered that Universal Module creates broken image in front end when trying to resize image from field

i had PHP 7.3 then updated to PHP 7.4, it did not work.
Then i saw this post, and i tried the link given by ggppdk on github, it did not work.
I don't undestand the HTACESS solution ... does it work?

SO my question is : has someone found a fix for that problem?

Thanks a lot...
Last edit: 4 years 9 months ago by ekwax.

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

More
4 years 9 months ago #80191 by micker
please create your topic with more information
fkexicontent version, link, error .. ect

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

Moderators: vistamediajoomlacornerggppdk
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
Save