Spyderboyy, I'd suggest you take a look at Dayo Akanji's latest release, in the 3rd Party Modules and Themes section of the Gallery2 forums. It is much more focused on the 'sale of traditional photographic prints' model rather than the 'digital download' model, and includes sample templates, product options and similar.
I'd also hang on for a day or so before downloading it, as Dayo and I are busy integrating the latest bugfixes into it.
Rgds,
Chuck
Hello
I am getting back to working on my Zencart/Gallery integration site.
I am trying to disable the larger image link on the product detail page.
I am trying to change tpl_product_gallery_info_display.php
Original code
<td align="center" valign="top" class="smallText" rowspan="3" width="<?php
echo SMALL_IMAGE_WIDTH;
?>">
<?php
if (zen_not_null($productImage)) {
echo '<a href="' . $productUrl . '"><img src="'
. DIR_WS_IMAGES . $productImage . '"&g2_imageViewsIndex=1 border="0" alt="' . $products_name . '" title="'
. $products_name . '" hspace="5" vspace="5" />' . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>';
} else {
echo ' ';
}
?>
</td>
I have tried amending this to
<td align="center" valign="top" class="smallText" rowspan="3" width="<?php
echo SMALL_IMAGE_WIDTH;
?>">
<?php
if (zen_not_null($productImage)) {
echo '<img src="'
. DIR_WS_IMAGES . $productImage . '"&g2_imageViewsIndex=1 border="0" alt="' . $products_name . '" title="'
. $products_name . '" hspace="5" vspace="5" />' . '<br />' . TEXT_CLICK_TO_ENLARGE .;
} else {
echo ' ';
}
?>
</td>
But this has not worked.
Could someone please point me in the right direction to do this?
Cheers
Danielle
Does anyone have links to existing websites using zen cart with gallery2? I'm considering adding this to my website and would like to see some real world examples.
Danielle
Change the code to
Code:<td align="center" valign="top" class="smallText" rowspan="3" width="<?php echo SMALL_IMAGE_WIDTH; ?>"> <?php if (zen_not_null($productImage)) { echo '<a href="' . $productUrl . '"><img src="' . DIR_WS_IMAGES . $productImage . '"&g2_imageViewsIndex=1 border="0" alt="' . $products_name . '" title="' . $products_name . '" hspace="5" vspace="5" /></a>'; } else { echo ' '; } ?> </td>
On your other query on the G2 site,
The image sizes are defined in the zencart admin under configuration, layout settings.
I'm having real problems with this mod - Chuck, if you read this I have emailed you at your hotmail address (included in the zip) but if you didn't get this I hope you can help here?
Basically I have the following setup:
Zencart 1.3.8a
Gallery 2.2.4
Paths are:
zencart = "/" (root)
gallery= "/gallery"
I have tried using the same DB and different DB's with cross permissions on the DB users.
The install went really well - I can configure the Gallery2 module just fine, it accepts the path to zen and finds the correct category to use for images.
I can upload pictures to Gallery2 and they show in the correct place in zencart and in the correct folders - even zen lightbox works!!!!!
The only file that I couldn't upload was functions_general.php which caused a blank zencart mainpage when used so I reverted back to the core zencart file.
The problem is this - once a customer selects a download size and goes through the checkout they are presented with a download button which when pressed just goes to a blank screen - nothing happens!
I have checked the zencart download folder and a symbolic link has been created with the correct filename, but the contents of this symbolic link when viewed in a text editor is just "sample download"????
I feel that I am really really close to getting this working so if anyone can help or has any suggestions then I would really appreciate it!!!!
Thanks
Tony
BUMP---
Does Chuck visit the Zencart forums anymore? Does anyone know where / how I can get hold of him please?
Thanks
Tony
Bookmarks