Re: Product page image manager using metafields for the image URLs?

Solved

Product page image manager using metafields for the image URLs?

Uni-Trend
Excursionist
33 0 28

Hi,

 

Has anyone found a solution that lets you build an image gallery on the product page that keeps the URL the same for 3rd-party hosted images?

 

I am hosting my images on a cloud-based DAM. I have secure URLs for the images. When I add the image to Shopify via the URL, the system doesn't keep the integrity of the link. Meaning if take new pictures of products, I can't just upload the images to the DAM and have the links stay the same for the new images (assuming they are named the same). 

 

I have my product documents hosted on a cloud server and I am using the URLs to them via metafields to publish them on the pages. I could put the image URLs into metafields, but I want the slider/zoom functionality that the product page has. 

 

I am sure I could find a way to code this in liquid, but I was hoping that someone has already solved this.

 

Thanks for any suggestions. 

Accepted Solution (1)

PaulNewton
Shopify Partner
7721 678 1619

This is an accepted solution.

Has to be done through theme customization for the online-sales channel.

 

Basically find the section/snippet responsible for rendering images and shunt in the metafields url values to use instead of the shopify files. Keeping in mind in most situations your swapping in a TEXT value for an image-object that shopify-liquid can use for things like the aspect ratio, the name of the image, any alt text, getting the image width etc etc.etc. So with your external text url a lot of functionally may also need to be fixed or fed values somehow.

 

If you need to explore this customization then contact me directly by mail for services, Contact Info in signature.
Please always provide context, examples: store url, theme name, post url(s) , or any further detail.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


View solution in original post

Replies 2 (2)
Uni-Trend
Excursionist
33 0 28

Yes, exactly. 

 

That's why I am looking for an alternative to what Shopify provides. Using metafields would be fine. You can use URLs there. I am doing this for documents (datasheets, manuals, etc.). 

 

The code to pull this into a page is easy. If I wanted just a single product image on the page,  I could code it the same way. Making a nice gallery, with image zoom and all that is not something I was looking to tackle on my own 😉

 

I was hoping there was someone who'd coded something like this or a dev that has an app that can do it. 

PaulNewton
Shopify Partner
7721 678 1619

This is an accepted solution.

Has to be done through theme customization for the online-sales channel.

 

Basically find the section/snippet responsible for rendering images and shunt in the metafields url values to use instead of the shopify files. Keeping in mind in most situations your swapping in a TEXT value for an image-object that shopify-liquid can use for things like the aspect ratio, the name of the image, any alt text, getting the image width etc etc.etc. So with your external text url a lot of functionally may also need to be fixed or fed values somehow.

 

If you need to explore this customization then contact me directly by mail for services, Contact Info in signature.
Please always provide context, examples: store url, theme name, post url(s) , or any further detail.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org