Author Topic: Additional Images Not Displaying  (Read 7954 times)

mckayc

  • Jr. Member
  • **
  • Posts: 137
Additional Images Not Displaying
« on: November 26, 2008, 21:43:25 pm »
Today I noticed a rather bizarre problem.  I have been able to go to Add Image/File to add additional files.  This has been working fine until today.

Today I have tried adding additional images two different ways.
Method 1 - Go to the product then on the left under products click Add Image/File.  When I do this, the save button does nothing; it is like clicking on a random part of the screen.  I can press the apply button and this will upload the pictures.  The pictures will be uploaded, but they will not display anywhere on the website.

Method 2 - I will search for the product then press MEDIA.  This will list all of the pictures.  I can add and delete pictures here without a problem (even the save button works).  No matter how I add the additional images though, they still never show up anywhere in the website.

I went back to products that are still working, and cloned the products.  This deletes the pictures though and uploading them again still does not work. 

mckayc

  • Jr. Member
  • **
  • Posts: 137
Re: Additional Images Not Displaying
« Reply #1 on: January 02, 2009, 20:35:25 pm »
I just created a new product and was able to upload additional images and have it display correctly.  I tried adding images to existing products and that did not work.  Seems to have something to do with how the older products were created.  Perhaps using CSV improved has something to do with this?

jillymot

  • Beginner
  • *
  • Posts: 35
Re: Additional Images Not Uploading for Existing Product
« Reply #2 on: April 07, 2009, 04:20:18 am »
I am having exactly this same problem.  The upload images works fine when inputting a new product, however when revisiting an existing product and trying to add an image, it does not work.  I can, however, add a new image to an existing product by loading up to server by FTP and entering Image URL.

Why does the Upload from local drive not work for existing products.  Is this a bug that can be looked at please?

toastguy

  • Beginner
  • *
  • Posts: 27
Re: Additional Images Not Displaying
« Reply #3 on: June 02, 2009, 00:54:22 am »
I'm also looking for display of multiple images. I've added the multiple media items, but it's not displaying through the template. Any idea how to get that displaying? Perhaps I'm missing some template code?

Can you point me in the right direction?

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10321
  • VirtueMart Version: 3+
Re: Additional Images Not Displaying
« Reply #4 on: June 02, 2009, 01:15:24 am »
Is the additionalimages code in your flypage?

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

toastguy

  • Beginner
  • *
  • Posts: 27
Re: Additional Images Not Displaying
« Reply #5 on: June 02, 2009, 01:45:33 am »
No, I guess not. Can you copy and paste it here. Maybe it's not working properly for some reason.

toastguy

  • Beginner
  • *
  • Posts: 27
Re: Additional Images Not Displaying
« Reply #6 on: June 02, 2009, 01:48:56 am »
Actually, I saw this "vmlistAdditionalImages" , here's the code, but I don't see multiple images. How is it supposed to look?

<?php echo $this->vmlistAdditionalImages( $product_id, $images ) ?>

mckayc

  • Jr. Member
  • **
  • Posts: 137
Re: Additional Images Not Displaying
« Reply #7 on: September 26, 2009, 01:33:48 am »
Anyone figure out this bug?  I was hoping for a VirtueMart update, but it looks like that may not happen. 

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10321
  • VirtueMart Version: 3+
Re: Additional Images Not Displaying
« Reply #8 on: September 26, 2009, 16:22:22 pm »
This is not a bug.

Is this code in YOUR flypage?

<?php echo $this->vmlistAdditionalImages( $product_id, $images ) ?>
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

mckayc

  • Jr. Member
  • **
  • Posts: 137
Re: Additional Images Not Displaying
« Reply #9 on: September 29, 2009, 23:47:32 pm »
I do have that code.  Here is what I have from line 22-28:

<?php  if( $this->get_cfg('showManufacturerLink') ) { $rowspan = 5; } else { $rowspan = 4; } ?>
     <td width="33%" rowspan="<?php echo $rowspan; ?>" valign="top"><br/>
        <?php echo $product_image ?><br/><br/><?php echo $this->vmlistAdditionalImages( $product_id, $images ) ?></td>
     <td rowspan="1" colspan="2">
     <h1><?php echo $product_name ?> <?php echo $edit_link ?></h1>
     </td>
   </tr>

Attached, you will see two screenshots.  The first is a screenshot of my product but with only the one image showing up.  The second screenshot shows the actual files that should be showing up but are not.

If this is not a bug then I am baffled as to why it would not be working.  I reverted back to the original template to see if that would make any difference, but it did not.

[attachment cleanup by admin]

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10321
  • VirtueMart Version: 3+
Re: Additional Images Not Displaying
« Reply #10 on: September 29, 2009, 23:54:03 pm »
look in your databse, and see if the files are in the "product_files" table
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

mckayc

  • Jr. Member
  • **
  • Posts: 137
Re: Additional Images Not Displaying
« Reply #11 on: October 06, 2009, 22:58:18 pm »
As far as I can tell, all the images I added are in the database.



[attachment cleanup by admin]

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10321
  • VirtueMart Version: 3+
Re: Additional Images Not Displaying
« Reply #12 on: October 07, 2009, 16:18:31 pm »
honestly, I dunno. Have you tried all options you found while searching the forums?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

mckayc

  • Jr. Member
  • **
  • Posts: 137
Re: Additional Images Not Displaying
« Reply #13 on: October 10, 2009, 16:24:00 pm »
Yeah; I have been having this problem for quite a while now.  I have installed Joomla/Virtuemart a few times for other websites and have not had this problem.  I think it may have something to do with one of my plugins or extensions.  The problem is, I have so many, it makes it difficult to test.  Maybe I will try it today though.  Thanks for your help.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10321
  • VirtueMart Version: 3+
Re: Additional Images Not Displaying
« Reply #14 on: October 10, 2009, 19:08:01 pm »
  I think it may have something to do with one of my plugins or extensions. 

Might be one with slimbox

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)