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
What is the file path for an image stored in Gantry-Media? #3222
Comments
I figured it out! But if this helps anyone. I had the image uploaded via a particle on another page so I went through that page's code to see how Gantry had the path set up. |
It worked! Thank you!
…________________________________
From: Teddy ***@***.***>
Sent: Monday, January 22, 2024 3:38 AM
To: gantry/gantry5 ***@***.***>
Cc: taramooreUT ***@***.***>; Author ***@***.***>
Subject: Re: [gantry/gantry5] What is the file path for an image stored in Gantry-Media? (Issue #3222)
Hi,
By default on Joomla, all medias uploaded from particules or in the theme Style tab are stored in theme folder.
The folder is JROOT/templates/YOUR_THEME/custom/images/
So the full image path is something like : domain.tld/templates/YOUR_THEME/custom/images/YOUR_IMAGE.EXT
You can change this setting by going to Extras > Plaform Settings > System - Gantry 5 and then set "Use Joomla Images Folder" to "Yes"
image.png (view on web)<https://github.com/gantry/gantry5/assets/41152724/124b071c-2b7f-49f4-87d6-b72c48ee19c4>
image.png (view on web)<https://github.com/gantry/gantry5/assets/41152724/90a8b42b-8022-487e-a234-9d914ffb47e0>
I don't know how it works with WordPress, but it may be similar.
—
Reply to this email directly, view it on GitHub<#3222 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFGN3ZJVZWEHSFT2C7CRYTTYPYXQ5AVCNFSM6AAAAABB7FEX7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBTGYYDAMBRGY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. I'm not a programmer or coder so sorry if this question is obvious. I've been tasked with updating a website for my psych lab. They have images stored in gantry-media:// and I don't understand the file path so I can code it correctly with an tag.
I've tried the following:
<img src= "gantry-media://
<img src= "/gantry-media://
<img src= "../gantry-media://
Neither of them works. Please help.
The text was updated successfully, but these errors were encountered: