nsForum logo

Welcome Guest ( Log In )

 
Reply to this topicStart new topic
> Nscripts For Additional Images, Nscripts for Additional Images
theneonedge
post Oct 12 2009, 03:00 PM
Post #1





Group: Verified NS Member
Posts: 39
Joined: 3-September 08
Member No.: 2,273



I am trying to add more product images to my product layout designer. I know there is Display and Detailed Images there is an nscript. Is there additional nscripts for the additional images that could also be added to the individual products?
Go to the top of the page
 
+Quote Post
martiniguy
post Oct 12 2009, 03:50 PM
Post #2





Group: Verified NS Member
Posts: 777
Joined: 10-March 08
From: South Eastern Martini-land
Member No.: 775



QUOTE (theneonedge @ Oct 12 2009, 02:08 PM) *
I am trying to add more product images to my product layout designer. I know there is Display and Detailed Images there is an nscript. Is there additional nscripts for the additional images that could also be added to the individual products?

Hey theneonedge...

If I misunderstood your question, I apologize...I am not sure about adding this in the layout designer/template, but please read on.

You can add additional images to any product in the gallery tab of your control panel. You can also "fancy up" the display of the additional images by using prettyPhoto "lightbox" image gallery. See the thread here: http://forums.networksolutions.com/nscomme...lery-t3940.html

If you want to see an example live, hit my site here: http://www.martiniart.com/briiultramodernc...kerinblack.aspx

Hope this helps.
(IMG:http://forums.networksolutions.com/style_emoticons/default/martiniemoticon.gif)
Go to the top of the page
 
+Quote Post
theneonedge
post Oct 15 2009, 02:44 PM
Post #3





Group: Verified NS Member
Posts: 39
Joined: 3-September 08
Member No.: 2,273



QUOTE


I see that you have multiple product images in your product layout. The NS script (For example <%Product.DetailedImageUrl%>) pulls images based on the product the layout is assigned to. And when you create a product you can upload multiple images to your image gallery. Each one having a thumb, display and detailed image. My question is, does a script exist to well pull the other display or detailed images you have upload for that product? How did you get 4 pictures to show?
Go to the top of the page
 
+Quote Post
martiniguy
post Oct 15 2009, 09:33 PM
Post #4





Group: Verified NS Member
Posts: 777
Joined: 10-March 08
From: South Eastern Martini-land
Member No.: 775



QUOTE (theneonedge @ Oct 15 2009, 02:52 PM) *
I see that you have multiple product images in your product layout. The NS script (For example <%Product.DetailedImageUrl%>) pulls images based on the product the layout is assigned to. And when you create a product you can upload multiple images to your image gallery. Each one having a thumb, display and detailed image. My question is, does a script exist to well pull the other display or detailed images you have upload for that product? How did you get 4 pictures to show?

Upload the original image when I create the product.
Go back to the gallery tab and upload additional images (thumb and display)...rinse and repeat.
Go back to the gallery tab and upload additional images (thumb and display)

>>Do that for every image you want to show.
Go to the top of the page
 
+Quote Post
theneonedge
post Oct 16 2009, 01:01 PM
Post #5





Group: Verified NS Member
Posts: 39
Joined: 3-September 08
Member No.: 2,273



QUOTE (martiniguy @ Oct 15 2009, 10:41 PM) *
Upload the original image when I create the product.
Go back to the gallery tab and upload additional images (thumb and display)...rinse and repeat.
Go back to the gallery tab and upload additional images (thumb and display)

>>Do that for every image you want to show.


Hmmm... Not quite sure what you mean.

Here is the image part of the code:

div style="width:500px; height:475px;"><ul id="gallery">
<li><a href=""><img src="<%Product.DisplayImageUrl%>" alt="Picture #1"></a></li>
<li><a href=""><img src="<%Product.DetailedImageUrl%>" alt="Picture #2"></a></li>
</ul></div>

I tried doing what you were talking about, and the code put the same two images next to each other and didn't pull the addtional images:

div style="width:500px; height:475px;"><ul id="gallery">
<li><a href=""><img src="<%Product.DisplayImageUrl%>" alt="Picture #1"></a></li>
<li><a href=""><img src="<%Product.DetailedImageUrl%>" alt="Picture #2"></a></li>
<li><a href=""><img src="<%Product.DisplayImageUrl%>" alt="Picture #3"></a></li>
<li><a href=""><img src="<%Product.DetailedImageUrl%>" alt="Picture #4"></a></li>
</ul></div>

I still don't understand how to get the other product images. Here is a jpg so you see what I'm asking:

https://www.ledunderbody.com/images/product...ail/example.jpg
Go to the top of the page
 
+Quote Post
keyman
post Oct 19 2009, 10:17 PM
Post #6





Group: Verified NS Member
Posts: 71
Joined: 8-July 08
From: Long Island, NY
Member No.: 1,404



QUOTE (theneonedge @ Oct 16 2009, 02:09 PM) *
Hmmm... Not quite sure what you mean.

Here is the image part of the code:

div style="width:500px; height:475px;"><ul id="gallery">
<li><a href=""><img src="<%Product.DisplayImageUrl%>" alt="Picture #1"></a></li>
<li><a href=""><img src="<%Product.DetailedImageUrl%>" alt="Picture #2"></a></li>
</ul></div>

I tried doing what you were talking about, and the code put the same two images next to each other and didn't pull the addtional images:

div style="width:500px; height:475px;"><ul id="gallery">
<li><a href=""><img src="<%Product.DisplayImageUrl%>" alt="Picture #1"></a></li>
<li><a href=""><img src="<%Product.DetailedImageUrl%>" alt="Picture #2"></a></li>
<li><a href=""><img src="<%Product.DisplayImageUrl%>" alt="Picture #3"></a></li>
<li><a href=""><img src="<%Product.DetailedImageUrl%>" alt="Picture #4"></a></li>
</ul></div>

I still don't understand how to get the other product images. Here is a jpg so you see what I'm asking:

https://www.ledunderbody.com/images/product...ail/example.jpg



I think you are trying to show more than one pic at the same time ?

I don't think you can do that. You could combine the images in photshop or add the secondary pics to the html description.

Hope that helps.

mike
Go to the top of the page
 
+Quote Post
martiniguy
post Oct 20 2009, 12:13 AM
Post #7





Group: Verified NS Member
Posts: 777
Joined: 10-March 08
From: South Eastern Martini-land
Member No.: 775



You add additional images via the gallery tab. For each image you want to show (beyond your initial image you uploaded when you created the product), you do this in the gallery tab.
Go to the top of the page
 
+Quote Post
theneonedge
post Oct 20 2009, 10:28 AM
Post #8





Group: Verified NS Member
Posts: 39
Joined: 3-September 08
Member No.: 2,273



QUOTE (martiniguy @ Oct 20 2009, 01:21 AM) *
You add additional images via the gallery tab. For each image you want to show (beyond your initial image you uploaded when you created the product), you do this in the gallery tab.


Okay i understand that much, but once I have them uploaded how do I display them in my product layout? I hate to sound like a broken recorded, but the NS script for displaying the product only displays the MAIN IMAGE you upload. If you have 4 images how do you show them?
Go to the top of the page
 
+Quote Post
kencantoo
post Oct 20 2009, 08:54 PM
Post #9





Group: Verified NS Member
Posts: 141
Joined: 27-July 09
From: Tennessee
Member No.: 4,847



QUOTE (theneonedge @ Oct 20 2009, 11:36 AM) *
Okay i understand that much, but once I have them uploaded how do I display them in my product layout? I hate to sound like a broken recorded, but the NS script for displaying the product only displays the MAIN IMAGE you upload. If you have 4 images how do you show them?

The default for the NS Script will only show the main image, if you click on it from the storefront you will have the option at the top to view NEXT IMAGE and PREVIOUS IMAGE. I don't think you can show them without using prettyPhoto lightbox. you can see how to update this from Martiniguy's post...
QUOTE
You can add additional images to any product in the gallery tab of your control panel. You can also "fancy up" the display of the additional images by using prettyPhoto "lightbox" image gallery. See the thread here: http://forums.networksolutions.com/nscomme...lery-t3940.html


Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version    Network Solutions © 2010 Time is now: 21st March 2010 - 01:44 AM
Domain Names | Web Hosting | Web Design | Shopping Cart Software | Online Marketing | SSL Certificates