Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - LightMart (SKU# FLEX-00012)

TOPIC: Images don't work

Images don't work 8 years 10 months ago #12606

Hi there,

first of all - thanks for the great template I'm very satisfited within it, however I have problem which I can't solve - I'm trying to fix it over one day, but I guess the problem is pretty "easy-to-solve".

VirtueMart -> Products -> whatever I will do I can't see photos.
1) I can't see photos after putting them through ftp to folder /products/ (i also tried to put resized 250x250 / with 90x90 pixels) - dont work
2) I can't see photos after uploading them through the interface - when I click on the image - image will open but thumb~ doesn't work whatever I will do. I checked everything. It could happen cause I changed (in the begning) paths to products and categories, however right now its restored.

I don't have any more ideas. I tried to migrate / change to config options, nothing happend.

Please help.
Attachments:
The topic has been locked.

Images don't work 8 years 10 months ago #12613

well, its pretty uregent....
The topic has been locked.

Images don't work 8 years 10 months ago #12620

hi,

First of all sorry for the delayed response.
Secondly, this problem has absolutely nothing to do with our template. It is a core Virtuemart related thing. We don't provide free support if the problem is not directly 100% caused by our template.

Lastly, here is my idea about your case;

- it is a very bad idea to change the image folder name. You may easily mess up with the current states. You may need to re-start uploading pictures from the beginning, because thumbnail paths are stored in the database. Changing the folder name for pictures will break the harmony for the existing pictures and thumbnails.

- After deciding a new folder name for your pictures (lets say domain.com/product),
- Upload the "LARGE" pictures to that folder (never upload thumbnails and let Virtuemart to create the thumbnails for you)
- Then via Virtuemart Backend, navigate to Shop --> Media Files
- Remove all the pictures you see in that (most likely all the pictures will fail to load and you see X sign for them)
- Then click the "Synchorinize media to Virtuemart" button from the top-bar.
- "Synchorinize media to Virtuemart" button will synronize the pictures from the pictures folder to your Virtuemart (thumbnails will be re-generated and database will be updated with the new paths)
- Then, you will have a set of fully working pictures & thumbnails
- Open each product one-by one and remove the old pictures, instead add the new one. (you don't need to upload, you can add them via "search pictures" field


Attachment Pasted_Image_5_9_15__2_58_PM.png not found




-- But again, this is also very critical procedure. And it is quite easy to mess up as well. Also, if you currently have ~500 products, this would take like hours and hours, because you have to re-defined the pictures for each product one-by one

Of course - MAKE SURE TO BACKUP FIRST before doing what i am saying above (i would recommend you to do this procedure on your localhost first)

Regards.
Last Edit: 8 years 10 months ago by Support.
The topic has been locked.

) 8 years 10 months ago #12621

>> RESTORE DEFAULT <<helped, thanks.

Support Desk wrote:
hi,

First of all sorry for the delayed response.
Secondly, this problem has absolutely nothing to do with our template. It is a core Virtuemart related thing. We don't provide free support if the problem is not directly 100% caused by our template.

Lastly, here is my idea about your case;

- it is a very bad idea to change the image folder name. You may easily mess up with the current states. You may need to re-start uploading pictures from the beginning, because thumbnail paths are stored in the database. Changing the folder name for pictures will break the harmony for the existing pictures and thumbnails.

- After deciding a new folder name for your pictures (lets say domain.com/product),
- Upload the "LARGE" pictures to that folder (never upload thumbnails and let Virtuemart to create the thumbnails for you)
- Then via Virtuemart Backend, navigate to Shop --> Media Files
- Remove all the pictures you see in that (most likely all the pictures will fail to load and you see X sign for them)
- Then click the "Synchorinize media to Virtuemart" button from the top-bar.
- "Synchorinize media to Virtuemart" button will synronize the pictures from the pictures folder to your Virtuemart (thumbnails will be re-generated and database will be updated with the new paths)
- Then, you will have a set of fully working pictures & thumbnails
- Open each product one-by one and remove the old pictures, instead add the new one. (you don't need to upload, you can add them via "search pictures" field


Attachment Pasted_Image_5_9_15__2_58_PM.png not found




-- But again, this is also very critical procedure. And it is quite easy to mess up as well. Also, if you currently have ~500 products, this would take like hours and hours, because you have to re-defined the pictures for each product one-by one

Of course - MAKE SURE TO BACKUP FIRST before doing what i am saying above (i would recommend you to do this procedure on your localhost first)

Regards.


Thank you, I've tried it - unfortunately it didn't help. I haven't notice before it's not about your responsibilities to help me with VirtueMart. Anyway I was looking for an answers for hours, still didn't find anything, and thats the only damn thing which is blocking me to make the release. In that case, can you please tell me if I can restore somehow data I started with(your sample shop products e.g Headphones etc.)? I mean about VirtueMart - I have about 40 products, but I think it's going 2 be much faster do it that way, then look for solution.

Actually it's very interesting because I have something like this: (attachment)
I have there path like this:
<img src="//pics/products/resized/asd2_175x175.jpg" alt="asd2.jpg">
but I've tried to put there my domain / http / etc, etc.. ( i know its not recommended but still I really wanted to try everyting). So Maybe thats the reason its not visable?

Really when the case will be solved I will dance macarena.

Thank you for any support, cause I'm totally stucked.


----
edit:
another attachment you can see what I see 'live' but while I copy the link and put it into browser I have img.

edit2.
I can even manually create thumbs or do whatever with it, but I'd like to have it done. Maybe it's possbile to dissable them? I can do it start the webstie and then look for solution.


>> RESTORE DEFAULT <<helped, thanks.
Attachments:
Last Edit: 8 years 10 months ago by Tomasz Rabiencny.
The topic has been locked.

) 8 years 10 months ago #12625

Hmm,

Having 2 slashes in the beginning of URI is the problem. It shouldnt be like that.

The path for the pictures should be either
/pics/products/...
Or
domain.com/pics/products/...

But looks like yours is;
//pics/products/...

I strongly believe your problem is related to Joomla (not even Virtuemart)

Open the configuration.php (that lives in the root of joomla folder) and check the $live_site variable.

I am guessing, yours is like this: $live_site = '/';

Make sure it is BLANK, like this:

$live_site = '';

(Joomla is cleaver enough to determine the site URL on the fly, typing anything there manually is one of the common mistakes and it usually breaks the joomla path system)

Regards.
Last Edit: 8 years 10 months ago by Support.
The topic has been locked.

) 8 years 10 months ago #12626

Well, I edited on top, but you didn't notice, so one more:

>> RESTORE DEFAULT <<helped, thanks.

thank you, very much

time to dance macarena : ).
The topic has been locked.

) 8 years 10 months ago #12645

Ohh, that's fine. It is good to hear your problem has been resolved.

Case solved, topic is closed.

regards
The topic has been locked.
Time to create page: 0.073 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo