/    Sign up×
Community /Pin to ProfileBookmark

Image Switcher Script Bugs

I have setup an image gallery for a photographer and it’s working for the most part but I’m having a little bug. You can see it at the following link

[URL]http://www.smcphotos.net/gallery.php?id=36[/URL]

When you click one of the thumbnails on the sides of the middle picture, it changes the picture in the middle. Some of the pictures are larger than they need to be so I have them dynamically resized to be 600px max. The problem is that whenever the new picture is selected, the old picture is stretched to the new picture size until the new picture is loaded. I hope that makes sense. Any ideas on how I can correct this?

Aaron

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @freshwebs spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...