Link Product-Thumbnail-Image-Size-URL to ACF Field
-
Hi there,
I’ve added the following WooCommerce custom-fields within acf (Type: image):
ay_main_image
ay_additional_image_1
ay_additional_image_2
ay_additional_image_3
ay_additional_image_4
ay_additional_image_5
Now the fields should automatic linked to a specific thumbnail size version “ay_thumbnail_1500x2000px” of the already deposited product/variation main image and additional images.For example:
ay_main_image -> Main Image-URL (thumbnail-version “ay_thumbnail_1500x2000px”)
ay_additional_image_1 -> Additional Image 1-URL (thumbnail-version “ay_thumbnail_1500x2000px”)
ay_additional_image_2 -> Additional Image 2-URL (thumbnail-version “ay_thumbnail_1500x2000px”)
ay_additional_image_3 -> Additional Image 3-URL (thumbnail-version “ay_thumbnail_1500x2000px”)
ay_additional_image_4 -> Additional Image 4-URL (thumbnail-version “ay_thumbnail_1500x2000px”)
ay_additional_image_5 -> Additional Image 5-URL (thumbnail-version “ay_thumbnail_1500x2000px”)Can anyone tell me how to archieve this? Should I use a different ACF-Field Type instead of image-type?
I am looking forward to hearing from you soon.Many thanks in advance!
Br, AlexThe page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.