3.2.x Extensions Database 3.2 / 3.3Js replace broken images

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
Previous topicNext topic
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5117
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Js replace broken images

Post by martin »

I was going to keep this just for cssmagic users but thought il release it as a stand alone ext.

This will replace the ugly browser missing image icon with an image as below the image is missing so it gets replaced.

Turnes this
fecked.png
into this
broken.png
https://www.youtube.com/watch?v=ZP0NJZpDBRM
martin_brokenimage_1_0_5.zip


You can change the image in /ext/martin/brokenimage/styles/all/theme/images/broken.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 919
Joined: Feb 2nd, '18, 11:04
    Windows 7 Firefox

Re: Js replace broken images

Post by ivailo95 »

Nice work :thumbup:
Feed like a disease
And bring them to their knees
They'll pay for their deceit

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5117
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Js replace broken images

Post by martin »

How do you know ? it has not been downloaded yet.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Solidjeuh
Users
Users
Status: Offline
User theme: Dark
Posts: 348
Joined: Dec 13th, '14, 01:40
    Windows 10 Firefox

Re: Js replace broken images

Post by Solidjeuh »

Thank you 4 this ext!

Image
Forum voor NL Extensie vertalingen ---> https://www.supportforum.be
----------------------------------------------------------------------------

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5117
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Js replace broken images

Post by martin »

broken.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

d3ath2435
Users
Users
Status: Offline
User theme: Dark
Posts: 15
Joined: Apr 18th, '20, 22:51
    Linux Chrome

Re: Js replace broken images

Post by d3ath2435 »

On 3.2.x its work perfect, but on 3.3. not working :???:
Last edited by d3ath2435 on Jun 29th, '20, 21:45, edited 2 times in total.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5117
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Js replace broken images

Post by martin »

I'l update first post i have it working on 3.3 and 3.3.1

see here https://www.martins-phpbb.com/viewtopic.php?f=10&t=561

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5117
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Js replace broken images

Post by martin »

See post above.

First post updated new version.

Previous topicNext topic