Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacing the image #32

Open
StephenBugden opened this issue Mar 20, 2014 · 0 comments
Open

Replacing the image #32

StephenBugden opened this issue Mar 20, 2014 · 0 comments

Comments

@StephenBugden
Copy link

Hello,

Can anyone please help me. I need to be able to replace an image using JQuery i.e.
$('#image').attr('src', 'http://www.somewebsite.com/someimage.jpg');
I gave the image element an id of 'image'.

But the problem is that the new image now has the wrong coordinates. I've tried calling the code to reset it but that doesn't work. So how can I reset the coordinates for the new image?

Best Regards,

Steve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant