[Skip to main content](#vessel-content)

#   Calling Just the Product Image

##

- **[Sovaka](/forum/user/27194-sovaka "View Sovaka's Profile")**
- [![Sovaka's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27194-sovaka "View Sovaka's Profile") Topic Author
- [ Offline](/forum/user/27194-sovaka)

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 2 months ago -  13 years 2 months ago [\#120452](#120452) by [Sovaka](/forum/user/27194-sovaka "View Sovaka's Profile")  *[Calling Just the Product Image](/forum/4-how-to/861423-calling-just-the-product-image#120452 "-- HikaShop version -- : 2.2.0 -- Joomla version -- : 3.1.5  G'day, What I would like to know is how I can call just the Product Image on the Product page without it having go through the multiple Div formats? IE Bypassing the show&#95;block&#95;img.  I am assuming the process would be similar for other Product information like Price, Stock level et c. Where do I find a list of all these parameters?  Thanks")* was created by *[Sovaka](/forum/user/27194-sovaka "View Sovaka's Profile")*

-- HikaShop version -- : 2.2.0
-- Joomla version -- : 3.1.5

G'day,
What I would like to know is how I can call just the Product Image on the Product page without it having go through the multiple Div formats?
IE Bypassing the show_block_img.

I am assuming the process would be similar for other Product information like Price, Stock level et c.
Where do I find a list of all these parameters?

Thanks

Last edit: 13 years 2 months ago by [Sovaka](/forum/user/27194-sovaka "View Sovaka's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MTQyMy1jYWxsaW5nLWp1c3QtdGhlLXByb2R1Y3QtaW1hZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Sovaka](/forum/user/27194-sovaka "View Sovaka's Profile")**
- [![Sovaka's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/27194-sovaka "View Sovaka's Profile") Topic Author
- [ Offline](/forum/user/27194-sovaka)

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 2 months ago [\#120467](#120467) by [Sovaka](/forum/user/27194-sovaka "View Sovaka's Profile")  Replied by *[Sovaka](/forum/user/27194-sovaka "View Sovaka's Profile")* on topic *[Calling Just the Product Image](/forum/4-how-to/861423-calling-just-the-product-image#120467 "-- HikaShop version -- : 2.2.0 -- Joomla version -- : 3.1.5  G'day, What I would like to know is how I can call just the Product Image on the Product page without it having go through the multiple Div formats? IE Bypassing the show&#95;block&#95;img.  I am assuming the process would be similar for other Product information like Price, Stock level et c. Where do I find a list of all these parameters?  Thanks")*

For those who are also wondering;
I was able to do it with this chunk of code;
Code:

&lt;?php if(!empty ($this-&gt;element-&gt;images)){ $image = reset($this-&gt;element-&gt;images); } $height = $this-&gt;config-&gt;get('product_image_y'); $width = $this-&gt;config-&gt;get('product_image_x'); if(empty($height)) $height=$this-&gt;config-&gt;get('thumbnail_y'); if(empty($width)) $width=$this-&gt;config-&gt;get('thumbnail_x'); $divWidth=$width; $divHeight=$height; $this-&gt;image-&gt;checkSize($divWidth,$divHeight,$image); ?&gt; &lt;img src="&lt;?php echo $this-&gt;image-&gt;uploadFolder_url . $image-&gt;file_path; ?&gt;" style="float:left;"/&gt;

Of course the IMG style properties you'd have to change to suit your needs.

Still keen on the list of how to call all the parameters.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MTQyMy1jYWxsaW5nLWp1c3QtdGhlLXByb2R1Y3QtaW1hZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 2 months ago [\#120491](#120491) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Calling Just the Product Image](/forum/4-how-to/861423-calling-just-the-product-image#120491 "-- HikaShop version -- : 2.2.0 -- Joomla version -- : 3.1.5  G'day, What I would like to know is how I can call just the Product Image on the Product page without it having go through the multiple Div formats? IE Bypassing the show&#95;block&#95;img.  I am assuming the process would be similar for other Product information like Price, Stock level et c. Where do I find a list of all these parameters?  Thanks")*

Thanks for sharing your solution, it may be helpful ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MTQyMy1jYWxsaW5nLWp1c3QtdGhlLXByb2R1Y3QtaW1hZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.062 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
