Jump to content

image replacement


HeaDmiLe

Recommended Posts

i want to make script that will change image source but first should get image width and height so that can slide old picture width up to a new image's width and same action related to height.

the problem is i don't know how to get image dimension before image has loaded or there is some better way of doing this? (ex. moving image out of the screen until loading ended and then moving to right position)

 

i use jquery... thank you...

Link to comment
https://forums.phpfreaks.com/topic/134657-image-replacement/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.