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

Retina.js only works locally #262

Open
GonzaloSP opened this issue Oct 11, 2016 · 2 comments
Open

Retina.js only works locally #262

GonzaloSP opened this issue Oct 11, 2016 · 2 comments

Comments

@GonzaloSP
Copy link

Hi,

I am not 100% sure if this is a bug, but I saw in forums that other people have the same issue and they couldn't figured it out.
I have been struggling with retina for quite a while: I run the website locally and it works, but when I upload it to my server retina doesn't work.
In all the cases that I have the retina image I created the @2x image in the same directory.

So I have the /cards@2x.jpg in the same directory where I have /cards.jpg.
Someone experienced something similar? I uploaded to http://bit.do/cF85H

Thanks

@mxkeke
Copy link

mxkeke commented Nov 2, 2017

Same problem.
I'm using the last version 2.1.2.

@mxkeke
Copy link

mxkeke commented Nov 2, 2017

locally works with:
data-rjs="3" (or 2)

online only with the full path:
data-rjs="/images/name@2x.png"

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

2 participants