Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Images on Invoice 4.5.x

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-06-2013, 05:14 PM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Images on Invoice 4.5.x

I've gotten Image thumbnails to work on previous versions, but this is my first time trying it on 4.5.4

Has anyone got this to work yet, I'm not having a ton of luck.
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote
  #2  
Old 01-09-2013, 09:54 AM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: Images on Invoice 4.5.x

Anyone?
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote
  #3  
Old 01-09-2013, 03:39 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Images on Invoice 4.5.x

Well, what have you tried? You say you got it to work previously, what parts of your modifications are not working now?

I am ready to help, but I need to know where you are in the process, and what info you need. I believe we still have access to image.php in 4.5.X

So all you need is the productid! For instance: http://trainingpen.com/image.php?id=16126&type=T
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #4  
Old 01-10-2013, 02:45 PM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: Images on Invoice 4.5.x

I've got it to show up on the web site, but not on the emails.
This is what I got right now:
<a href="{$url}">{include file="product_thumbnail.tpl" productid=$product.productid image_x=50 image_y=50 product=$product.product tmbn_url=$product.tmbn_url}</a>


I don't know how to do it with the image.php
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote
  #5  
Old 01-13-2013, 09:39 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Images on Invoice 4.5.x

Sure, if it is an email it is going to need the full web address, online it is probably working because it is referenced locally.

Basically you will have to append "http://yoursite.com/ in front of the src of each image. Of course you will want to do this only when it is sending an email.

So first figure out how to switch the code if it is an email, then just embed the image directly using standard html markup, then use my example above to reference image.php by substituting the productid.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:29 PM.

   

 
X-Cart forums © 2001-2020