-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
image_process relative URL issue? #40
Comments
Remotely, are you serving your blog directly from the website root? The URL to the photo is assuming that is the case. You may need to look at setting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using the latest version of image_process plugin with pelican 4.5.3, using Python 3.8.5 on OSX Catalina using bootstrap2 theme. After following the documentation I only get proper results when served locally not remotely. i.e. while:
![]({static}/photos/test.png)
would lead to correct URL / displayed image, both when served locally and on the remote server, the following line:
<img class="image-process-large-photo" src="/photos/test.png"/>
leads to a tag with relative URL
<img class="image-process-large-photo" sizes="(min-width: 1200px) 800px, (min-width: 992px) 650px, (min-width: 768px) 718px, 100vw" src="/photos/derivatives/large-photo/800w/test.png" srcset="/photos/derivatives/large-photo/600w/test.png 600w, /photos/derivatives/large-photo/800w/test.png 800w, /photos/derivatives/large-photo/1600w/test.png 1600w"/></p>
which is only locally visible, but on the remote server does not find it.
Is there a way to change this behavior?
thanks!
The text was updated successfully, but these errors were encountered: