Quote:
I have thoroughly enjoyed tweaking your template to my liking. However, there is one small thing I think is burried in one of the encrypted files. On the detailed image preview that shows when you hover over a thumbnail, is there any way to make it show just the standard product image, not an actual "detailed" image?
|
I have attached the source file of /adapt_get_image.php
Option 1) You can use the detailed image 'order by' field to specify which of your detailed images appears on hover, in this case, zero...
Replace...
Code:
$products[$key]["image_url"] = func_query_first_cell("SELECT image_path FROM $sql_tbl[images_D] WHERE id=".$product["productid"]);
With
Code:
$products[$key]["image_url"] = func_query_first_cell("SELECT image_path FROM $sql_tbl[images_D] WHERE orderby='0' AND id=".$product["productid"]);
Option 2) You can have the product image appear instead (not thumbnail)...
Replace...
Code:
$products[$key]["image_url"] = func_query_first_cell("SELECT image_path FROM $sql_tbl[images_D] WHERE id=".$product["productid"]);
With...
Code:
$products[$key]["image_url"] = func_query_first_cell("SELECT image_path FROM $sql_tbl[images_P] WHERE id=".$product["productid"]);