WooCommerce - excelling eCommerce
[resolved] php code for large featured image? (3 posts)

  1. streettb
    Posted 1 year ago #

    Hi I'm adding a second instance of the prettyphoto lightbox on my single product page and I'm trying to get the php for the URL for the featured image before the crop has been set.

    That is, the URL for the cropped image is something like:
    where "350x420" is added to the image name of the original featured image upload,

    So what I'm wanting is something like
    < href='<?php ?>' rel='prettyPhoto'>

    What is the php for the URL to the featured image (before resizing)?


  2. IgniteWoo Team
    Posted 1 year ago #

    Featured images in WooCommerce work exactly the same as WordPress. See this post for ideas on how you might do this:


  3. streettb
    Posted 1 year ago #

    Yup - Thanks for the link - that helped a lot!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic