Images not loading correctly in FE in new articles

Please report bugs here!

Moderator: Thorsten

Post Reply
ossie
Posts: 5
Joined: Thu Oct 19, 2023 11:15 am

Images not loading correctly in FE in new articles

Post by ossie »

Hi,
we still (with v3.2.2) have issues with images not loading correctly in the frontend. The first image is loaded, the second one just in part (PNG is missing a cut of part, progressive JPG is not renderer to the end), the rest of the article is missing.

In v3.2.1 generating the pdf-view destroyed all images. Now the pdf-view is correct, showing all images.

Thanks & best regards
Oskar
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Images not loading correctly in FE in new articles

Post by Thorsten »

Hi Oskar,

can you send me the URL of the FAQ with the broken image?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ossie
Posts: 5
Joined: Thu Oct 19, 2023 11:15 am

Re: Images not loading correctly in FE in new articles

Post by ossie »

Hi Thorsten,
it is this one: https://faq.adfc-nrw.de/index.php?sid=5 ... artlang=de

bye, Oskar
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Images not loading correctly in FE in new articles

Post by Thorsten »

Hi,

this fix should help: https://github.com/thorsten/phpMyFAQ/co ... 24e7d854de

Additionally, you're using a 3.1 template, right? It causes a lot of JavaScript errors and 404 issues. You should use a 3.2 compatible template.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ossie
Posts: 5
Joined: Thu Oct 19, 2023 11:15 am

Re: Images not loading correctly in FE in new articles

Post by ossie »

Hi Thorsten,
thank you for the fix. Changing the value to 400000 was not enough in this case, though. I needed to change it to 644000, as we have quite a few images in this article. And still it is just a pseudo solution, as there is still a limit to the content which is not indicated in the backend at all.

And you are right about the template. I was able to fix the obvious 404-errors, but a real update of the templates is pending.

Bye, Oskar
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Images not loading correctly in FE in new articles

Post by Thorsten »

Hi,

I changed the fix for the 3.2.3 release: https://github.com/thorsten/phpMyFAQ/co ... 147cadf748

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ossie
Posts: 5
Joined: Thu Oct 19, 2023 11:15 am

Re: Images not loading correctly in FE in new articles

Post by ossie »

Hi Thorsten,
yes, this looks like a good solution. I will update it in our installation.
Managed to update the theme, by the way.

Bye, Oskar
Post Reply