Quote:
Originally Posted by LuBi
buro9
would it be possible to have this code generate the resized image as a link trageted to _blank in a new window with the original image in full size?
i install buro9's scrip with SVTBlackLight01 conditional and it works fine, but i'd like the option to click the image for the original.
|
It would be possible to add that link, but it would have an undesired effect.
What would happen is that when someone quoted or edited a post that had a large image, the additional code that I would have added via JavaScript would dribble through to the editor window or be stripped... this is according to vBulletin's internal stuff that basically reduces to URL tags (no knowledge of target), etc.
What I think I'm going to aim for after 3.5 is released is something far more nefarious.
If an image is detected, I'll resize it on the screen, but I'll also fire off an AJAX request to a custom web service that will edit the post and convert the offending IMG tag to a URL tag

The image gets stripped and the link will appear instead.
Far more evil, far more effective... people WILL learn to reduce the image and attach if they want it to be visible