Jump to content

Help to modify module need syntax for img


Recommended Posts

Hello,

 

I use a module that generate various files with information for sending them to pricecomparison sites. The problem is it generates the img url wrong.

 

It generates for example to this url:

http://www.blingskal.com/10/samsung-galaxy-s2-i9100-skal-metal-bling-skarmskydd.jpg

 

Which needs to be:

http://www.blingskal.com/6-10/samsung-galaxy-s2-i9100-skal-metal-bling-skarmskydd.jpg

 

So it generates only the picture id but no product id.

 

Code is as follows:

$link->getImageLink($product['link_rewrite'], (int)$product['id_image']);

 

Now what do I need to add/modify for it to generate correct img urls?

 

Thxs!

Link to comment
Share on other sites

Yeah I missed that ofc :/ I'm on 1.4.9 And I use this module: Friendly URLs without ID Number v0.1 av HA!*!*Y which i believe is the reason for the above module giving wrong img url.

 

Can't really think of any other module that rely on a syntax for generating adress to img adress for each product though...

Edited by benknackan (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...