You were on the right track.
It wasn’t the embedded video it was the DHTML in my FAQ Tab.
It’s working now that it’s disabled.
Much thanks, Now I have to figure out something else for the faq’s… I liked that feature.
hang tight, the knowledgebase, helpdesk, faq addon will be available soon, it’s even better then cs-cart’s kb…lol
Can anybody tell me why my image boxes are not resizing to the image’s size and are, instead, resizing to the page width? Example
Hi mdekok3000
Is it possible that you might have white space to the left and bottom, try and crop the picture again, see if that does the trick.
No they have no white space. What you see is all that’s in the image.
Having the same problem…I thought it might be a conflicting css property with the main style.css sheet as I’ve been doing a lot of customizing, but I tried running the site with only the shadowbox.css sheet and still have the same problem.
I played around with the width properties in shadowbox.css but it doesn’t seem to change anything for the better.
Could it be I am placing the code in the wrong place? Could you please let us know exactly where to place the three code sets into the image.tpl file? I realize it depends on where you’d like the link to be on the page for one of them…but I noticed that when the first set of code (of the three given for the image.tpl file) is placed at the very top of the page…no image is displayed when initiating shadowbox, so placement does play a role.
Any suggestions would be greatly appreciated!
Hi BullyHelpInitiatives
The inital height and width are delt with in the shadowbox.js script
Is this link for the site you are trying to install shadowbox.
[URL]http://www.bullyclothing.com/Script/index.php[/URL]
Can you tell me your cs-cart version and the skin you are using and i will have a look at it for you, see if i can find anything that might need to altered for your skin.
Also what other scripts do have running that you know off.
The code in [COLOR=Red]red[/COLOR] is the code you use or add to the individual files, the code in [COLOR=SeaGreen]Green[/COLOR] should already be their. I have updated my post it should be a bit clearer now.
Hi mdekok3000
This may help you mdekok3000,
The inital height and width are delt with in the shadowbox.js script
I’m not sure what the initial height and width have to do with the box’s final width and height. It’s when it resizes. It becomes larger than the image.
In this screenshot I selected the image so you can see what I mean. The box resized too large.
What is the image extention, gif, jpg, png, can you upload that image so i can test it myself, while i do that, can you setup a bogg standard jpg image in your add product to see if it still opens to big.
It’s a gif in the screenshot, but the forum converted it to jpg extension
[URL]http://www.youtipgaming.com/images/products/screenshots/lpcalcss.gif[/URL]
I tried jpg, png, gif and nothing resizes to correct size.
Hi mdekok3000
It is an Animated gif, I downloaded the original not the one that CS-Cart converted and it resized perfect for me on my cart and animates perfect, youmust have conflict maybe with other js scripts or have some settings wrong on the admin side
Okay, it’s fine I just wanted to know why. Thanx!
Have installed this mod and it is great.
Only problem is on some images the box opens and goes full (ish) screen and fire bug tells me…
[COLOR=“Red”]fn_open_popup_image is not defined
javascript:fn_open_popup_image(‘image.php?object_type=detailed&image_id=184&window=popup’, 334+ 84, 761+ 140);
Line 1[/COLOR]
It’s not the image sizing. Any ideas???
Barryh
Thanks for being so willing to help Zardos…
That’s not the site I’m installing this on. The other one isn’t live yet, but I think I’ve figure out what the problem is. I replaced the red in the following code from the image.tpl file
[COLOR=“YellowGreen”][/COLOR]
with a direct link to a picture on the server, and it works fine. The problem here, is that it will only ever show this one image instead of the one correspoding to each product. I think the problem may be that when specifying the image for the product in product details of the admin section, cs-cart is changing the size of the picture or something.
Also, I checked out the folder (where [COLOR=“Red”]my_cs_root[/COLOR] is my root folder)
[COLOR=“Green”]my_cs_root/ images/[/COLOR]
and noticed that the subfolder
[COLOR=“Green”]images/detailed_images[/COLOR]
…is empty. When I choose the product image as one from a local source, shouldn’t the image be uploaded to this folder? Could this be the problem. IF it doesn’t, where does CS-Cart place these uploaded pictures. If I could navigate to it, I could check out the uploaded image to see if it’s the proper size.
Thanks again!
you probably have your images located in the database…
Hi BarryH
You must comment out this line {* code *}
{[COLOR=Red]*[/COLOR]assign var="detailed_href" value="javascript:fn_open_popup_image('$image_location$image_index?object_type=detailed&image_id=`$images.detailed_id`&window=popup', `$images.detailed.image_x`+84, `$images.detailed.image_y` + 140);"[COLOR=Red]*[/COLOR]}
Hope that helps.
Hi BullyHelpInitiatives
[quote]you probably have your images located in the database…[/quote]snorocket is right, if your images are in the file system it should look like this:
images/category_images
images/common_images
images/detailed_images
images/product_images
Your images need to be in the files system, much faster than in DB anyway.
Hi Zardos
I have commented it out!
I know it’s not image size coz I have 3 the same size, 1 works 2 don’t???
BarryH
It’s really cool by the way, shame nothing goes straight forward for me!!!
BarryH