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

What is the file path for an image stored in Gantry-Media? #3222

Open
taramooreUT opened this issue Jan 17, 2024 · 3 comments
Open

What is the file path for an image stored in Gantry-Media? #3222

taramooreUT opened this issue Jan 17, 2024 · 3 comments

Comments

@taramooreUT
Copy link

taramooreUT commented Jan 17, 2024

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.

@taramooreUT
Copy link
Author

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.

@Teddy-GFCOM
Copy link

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
image

I don't know how it works with WordPress, but it may be similar.

@taramooreUT
Copy link
Author

taramooreUT commented Jan 22, 2024 via email

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