Zen Follower
- Join Date:
- Nov 2009
- Posts:
- 285
- Plugin Contributions:
- 2
Zen Follower
Totally Zenned
Totally Zenned
Zen Follower
Totally Zenned
No there is no such setting in Tabbed Products Pro.. If I turn off the TPP setting to put the product reviews into a tab, then the extra image goes away..niestudio:
glad to hear it's working well for you. I looked at the site and the "Extra" image is coming from your reviews tab, but the css is hiding it from display.
Is there a ZC setting to "include images in reviews" or something like that?
Zen Follower
Totally Zenned
niestudio:
I'll look into it an see what I can find.
d
Totally Zenned
One more thing I noticed on this site is that the bottom of the image is getting cut off slightly http://zentestcart(dot)overthehillweb(dot)com/index.php?main_page=product_info&cPath=1&products_id=1DivaVocals:
Got it installed.. Very nice.. Got something odd happening though.. In fact I noticed this too with the latest version of Zen Lightbox.. I get an "extra" image that is a repeat of the main image. So if you look at my test store where I have no additional images you will see that the lightbox always shows that there are two images, and both images are the main image. http://zentestcart(dot)overthehillweb(dot)com/index.php?main_page=product_info&cPath=1&products_id=1
I noticed the same behavior using the latest version of Zen Lightbox as well: http://mybeautyaddiction(dot)com/index.php?main_page=product_info&cPath=16_132&products_id=557
Totally Zenned
DivaVocals:
One more thing I noticed on this site is that the bottom of the image is getting cut off slightly http://zentestcart(dot)overthehillweb(dot)com/index.php?main_page=product_info&cPath=1&products_id=1
I'm assuming I need to make an adjustment to the stylesheet, but I am not sure what I need to adjust..
#cboxLoadedContent{margin-bottom:28px;} #cboxLoadedContent{margin-bottom:40px;}Totally Zenned
New Zenner
<?php
/*Sequence for listing image paths for slideshow */
// do we want slideshow on this page?
if (isset($ezpage_id) and $ezpage_id == 'MY_EZ_PAGE_ID_#'){
//Hidden div to feed invisible images to jscript
echo "<div style=\"display:none\">";
// query database table for image paths
$this_sql_for_images = mysql_query("SELECT products_image FROM zen_products ORDER BY RAND()");
// loop through image paths and create array
while ($row = mysql_fetch_array($this_sql_for_images, MYSQL_NUM)) {
//assign string to variable
$the_url = $row[0];
if (file_exists("images/".$the_url)) {
// RegEx pattern to separate image path from extension
$pattern = '|(^.*)\.(.*)|';
//insert "_LRG" in image name so we are displaying large images
$replacement = '$1'."_LRG.".'$2';
//assemble path for large image
$LRG_URL = preg_replace($pattern, $replacement, $the_url);
$full_path = "images/large/".$LRG_URL;
if (file_exists($full_path)) {
//echo "The large file $full_path exists<hr/>";
//list images with "style = display:none" so they are not visible on page
echo "<a href= \"".$full_path."\""." rel=\"renmanimage\"><img src=\"".$full_path."\" style=\"display:none;padding:0;margin:0;height:1px\"></a><br/>";
}
} else {
//echo "The small file, $the_url exists<hr/>";
//list images with "style = display:none" so they are not visible on page
echo "<a href= \"images/".$the_url."\""." rel=\"renmanimage\"><img src=\"images/".$the_url."\" style=\"display:none;padding:0;margin:0;height:1px\"></a><br/>";
} // End LRG file condition
} // End DB file exists Condition
//End hidden div tag
echo "</div>";
//display image to click to begin slideshow
echo "<a href= \"images/clickhere.jpg\" rel=\"renmanimage\"><img src=\"images/clickhere.jpg\"></a><br/>";
} // End EZ Page ID Condition
?>New Zenner
<?php
/*Sequence for listing image paths for slideshow */
// do we want slideshow on this page?
if (isset($ezpage_id) and $ezpage_id == 'MY_EZ_PAGE_ID_#'){
//Hidden div to feed invisible images to jscript
echo "<div style=\"display:none\">";
// query database table for image paths
$this_sql_for_images = mysql_query("SELECT products_image FROM zen_products ORDER BY RAND()");
// loop through image paths and create array
while ($row = mysql_fetch_array($this_sql_for_images, MYSQL_NUM)) {
//assign string to variable
$the_url = $row[0];
if (file_exists("images/".$the_url)) {
// RegEx pattern to separate image path from extension
$pattern = '|(^.*)\.(.*)|';
//insert "_LRG" in image name so we are displaying large images
$replacement = '$1'."_LRG.".'$2';
//assemble path for large image
$LRG_URL = preg_replace($pattern, $replacement, $the_url);
$full_path = "images/large/".$LRG_URL;
if (file_exists($full_path)) {
//echo "The large file $full_path exists<hr/>";
//list images with "style = display:none" so they are not visible on page
echo "<a href= \"".$full_path."\""." rel=\"renmanimage\"><img src=\"".$full_path."\" style=\"display:none;padding:0;margin:0;height:1px\"></a><br/>";
}
} else {
//echo "The small file, $the_url exists<hr/>";
//list images with "style = display:none" so they are not visible on page
echo "<a href= \"images/".$the_url."\""." rel=\"renmanimage\"><img src=\"images/".$the_url."\" style=\"display:none;padding:0;margin:0;height:1px\"></a><br/>";
} // End LRG file condition
} // End DB file exists Condition
//End hidden div tag
echo "</div>";
//display image - which will need to be uploaded - to click to begin slideshow
echo "<a href= \"images/clickhere.jpg\" rel=\"renmanimage\"><img src=\"images/clickhere.jpg\"></a><br/>";
} // End EZ Page ID Condition
?>New Zenner
<?php
/*Sequence for listing image paths for slideshow */
// do we want slideshow on this page?
if (isset($ezpage_id) and $ezpage_id == 'MY_EZ_PAGE_ID_#'){
//Hidden div to feed invisible images to jscript
echo "<div style=\"display:none\">";
// query database table for image paths
$this_sql_for_images = mysql_query("SELECT products_image FROM zen_products ORDER BY RAND()");
// loop through image paths and create array
while ($row = mysql_fetch_array($this_sql_for_images, MYSQL_NUM)) {
//assign string to variable
$the_url = $row[0];
if (file_exists("images/".$the_url)) {
//list images with "style = display:none" so they are not visible on page
} // End DB file exists Condition
//End hidden div tag
echo "</div>";
//display image - which will need to be uploaded - to click to begin slideshow
echo "<a href= \"images/clickhere.jpg\" rel=\"renmanimage\"><img src=\"images/clickhere.jpg\"></a><br/>";
} // End EZ Page ID Condition
?>Totally Zenned
Zen Follower
Totally Zenned
Totally Zenned
niestudio:
No, we're still in private beta right now.
that one is a similar box, but doesn't have the same configurations.
Zen Follower
Totally Zenned
niestudio:
No, no plans for watermarking
Zen Follower
DivaVocals:
No there is no such setting in Tabbed Products Pro.. If I turn off the TPP setting to put the product reviews into a tab, then the extra image goes away..
I'm wondering if the fix I made here: http://www.zen-cart.com/showthread.php?86201-Tabbed-Products-Pro-(TPP)-Contrib-Official-Thread&p=620411#post620411 to hide the extra reviews button somehow has affected things.. I would hate to not be able to keep reviews inside a tab just to use this add-on..:(
$('#productMainImageReview, #productAdditionalImages_tab').find("a").removeAttr("rel");Destination thread ID and reason are required when shown.
Tell staff why this post should be reviewed.
Required for login, security, and core site functionality.
Help us understand how the site is used so we can improve it.
Used for promotion and personalized campaign measurement.