Author Topic: Fly Page Full Images How To  (Read 18770 times)

konstapel

  • Beginner
  • *
  • Posts: 2
Re: Fly Page Full Images How To
« Reply #15 on: August 10, 2010, 11:07:18 am »
hi guys, first sorry for bumping this old thread on top.

IM creating a flypage for my shop, noch i had the problem that the Big Picture wasnt showed in the Flypage (copyed from the original). With your solution it works, but how could i check if there is a big Picture and if there is none show the small one?

tried it that way:
Code: [Select]
<img src="components/com_virtuemart/shop_image/product/<?php if ( !emtpy$product_full_image) ) { echo $product_full_image; } else { echo $product_image; } ?>" /><br/><br/><?php echo $this->vmlistAdditionalImages$product_id$images ?>

but dont works :/

konstapel

  • Beginner
  • *
  • Posts: 2
Re: Fly Page Full Images How To
« Reply #16 on: August 10, 2010, 11:17:34 am »
got it, here'S the solution if someone needs it:

Code: [Select]
<img src="components/com_virtuemart/shop_image/product/<?php if (!empty($product_full_image)) { echo $product_full_image; } else { echo $product_thumb_image; } ?>" /><br/><br/><?php echo $this->vmlistAdditionalImages$product_id$images ?>

jshuja

  • Beginner
  • *
  • Posts: 27
Re: Fly Page Full Images How To
« Reply #17 on: August 12, 2010, 20:05:40 pm »
Hi,
I just want to increase the size of the image on the product page and I think it can be changed by changing the lines of code mentioned in this thread. Can anyone point out how?

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10359
  • VirtueMart Version: 3+
Re: Fly Page Full Images How To
« Reply #18 on: August 12, 2010, 21:52:57 pm »
Hi,
I just want to increase the size of the image on the product page and I think it can be changed by changing the lines of code mentioned in this thread. Can anyone point out how?


do you want larger thumbs? even on category page?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

jshuja

  • Beginner
  • *
  • Posts: 27
Re: Fly Page Full Images How To
« Reply #19 on: August 13, 2010, 01:51:08 am »
yes i want larger thimbnails. but only on the product flypage

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10359
  • VirtueMart Version: 3+
Re: Fly Page Full Images How To
« Reply #20 on: August 13, 2010, 13:43:15 pm »
You are going to have to hard code it using show_image_im_imagetag

<img src="components/com_virtuemart/show_image_in_imgtag.php?filename=yyyyyyy&amp;newxsize=150&amp;newysize=150&amp;fileout=" title="ALT TAG PRODUCT NAME" />

Where the Y is, you have to echo the thumbnail URL

and title, you have to echo the product name.
change the 150 to whatever size you want the thumbnail

I am not a coder, so thats as much as I can tell you
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

jshuja

  • Beginner
  • *
  • Posts: 27
Re: Fly Page Full Images How To
« Reply #21 on: August 13, 2010, 15:22:54 pm »
i couldnt understand which file you are reffering to..
is it
Joomla\components\com_virtuemart\themes\default\theme.php
OR
components/com_virtuemart/show_image_in_imgtag.php

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10359
  • VirtueMart Version: 3+
Re: Fly Page Full Images How To
« Reply #22 on: August 13, 2010, 15:35:41 pm »
You have to do it in your flypage.
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

kubwit

  • Beginner
  • *
  • Posts: 9
Re: Fly Page Full Images How To
« Reply #23 on: April 17, 2011, 15:47:14 pm »
Hallo. I tried all posts but i wasn't able to apply a full size image to flypage.php.
 running 1.5.23 and 1.18.

i think the simpliest way is to load the fullsize image and apply the size wanted t it.

How is it possibel to to. I'm weeks running around and can't get it work.

the
Code: [Select]
<?php echo urldecode$product_image ?> in line 27 loads the resized thumbnail.

where is the $product_image defined. i cannot find it to change.

in the theme.php there is the

Code: [Select]
/* Wrap the Image into an URL when applicable */
if ( @$product["product_url"] ) {
$product_image = "<a href=\"". $product["product_url"]."\" title=\"".$product['product_name']."\" target=\"_blank\">";
$product_image .= ps_product::image_tag($product['product_thumb_image'], $img_attributes, 0);
$product_image .= "</a>";
section but also when i change the thumb in full nothing happens.

 ??? ??? ??? ??? ???

Somebody a clue ??

I know it's an old post but maybe....

anita04

  • Beginner
  • *
  • Posts: 10
Re: Fly Page Full Images How To
« Reply #24 on: August 08, 2011, 19:15:07 pm »
Hi!

Try changing this too on the theme.php

/* Build the "See Bigger Image" Link */
            if( @$_REQUEST['output'] != "pdf" && $this->get_cfg('useLightBoxImages', 1 ) ) {
               $link = $imageurl;
               $text = ps_product::image_tag($product['product_full_image'], $img_attributes, 1)."<br/>".$VM_LANG->_('PHPSHOP_FLYPAGE_ENLARGE_IMAGE');

               $product_image = vmCommonHTML::getLightboxImageLink( $link, $text, $product['product_name'], 'product'.$product['product_id'] );
            }
            elseif( @$_REQUEST['output'] != "pdf" ) {
               $link = $imageurl;
               $text = ps_product::image_tag($product['product_full_image'], $img_attributes, 1)."<br/>".$VM_LANG->_('PHPSHOP_FLYPAGE_ENLARGE_IMAGE');

I changed the thumb to full, and then it display like I want.