Specifying product image upload location for each image

Created on 18 February 2024, 9 months ago

Specifying product image upload location for each image

I have been searching for how to specify the image upload location for commerce products, to keep the file system organized. Forgive me if this has been asked already, but I have been having trouble finding a clear explanation or means. Example: I have a blue shirt, but different kinds under that, and I wish to upload each image/s to different directories under the blue shirt folder. Can you please explain, or provide a link, to how I can easily control the upload location for each (product) image?

example.com/files/store//product/shirt/blue/option1/image1.jpg (image2.jpg, image3.jpg...)

example.com/files/store//product/shirt/blue/option2/image1.jpg (image2.jpg, image3.jpg...)

example.com/files/store//product/shirt/blue/option3/image1.jpg (image2.jpg, image3.jpg...)

Thanks!

💬 Support request
Status

Closed: won't fix

Version

2.38

Component

Documentation

Created by

🇺🇸United States corE

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @corE
  • Status changed to Closed: won't fix 9 months ago
  • 🇮🇱Israel jsacksick

    With the abundance of support available in Drupal Answers, the Drupal focused Stack Exchange site, we are no longer answering support requests in the issue queue.

    Support requests opened here will be closed (won't fix), so please search for existing answers or post new questions at:

    https://drupal.stackexchange.com (using the drupal-commerce tag)

Production build 0.71.5 2024