Re: choice of images

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 36382
interpreted = N
texte = Disclaimers: There may be better ways. I might have even missed the idea completely. It is late for me so I might have made sytax errors. I didn't test it.But at least you'll get the creative ideas flowing :-)-JohnPS - I think you don't need that field in the db---------START portion of results.tpl--------- [!]---weave some or all of this into your results page - whatever you call it ---[/!]

View alternate photos:
[ListFiles path=../images/[sku]/] [hideif [URL][index][/URL]=1] [Index]  [/hideif] [/ListFiles]---------END portion of results.tpl--------- ---------START viewImage.tpl--------- [!]---fill this page out to suit ---[/!] Here is photo # [imageID], for product # [sku]:


View alternate photos:
[ListFiles path=../images/[sku]/] [hideif [URL][index][/URL]=[URL][imageID][/URL]] [Index]  [/hideif] [/ListFiles]

Back to main page for product # [sku] ---------END viewImage.tpl---------Alan wrote:> The files are partially named with the SKU and are inside a folder also named with the > SKU. An example of the path to an image would be ../images/0001/0001_photo1.jpg. The > field in the database that tells how many images there are is named photos. > > Alan > > John Butler wrote: > > > how are you storing these images? > > > > All in one folder, and they all contain the SKU in the name with -N tacked on the > > end? > > > > Or each SKU has its own folder for images? > > > > or? > > > > -John > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: choice of images (John Butler 2000)
  2. Re: choice of images (Alan 2000)
  3. Re: choice of images (John Butler 2000)
  4. Re: choice of images (John Butler 2000)
  5. Re: choice of images (Alan 2000)
  6. Re: choice of images (John Butler 2000)
  7. Re: choice of images (John Butler 2000)
  8. Re: choice of images (Alan 2000)
  9. Re: choice of images (John Butler 2000)
  10. choice of images (Alan 2000)
Disclaimers: There may be better ways. I might have even missed the idea completely. It is late for me so I might have made sytax errors. I didn't test it.But at least you'll get the creative ideas flowing :-)-JohnPS - I think you don't need that field in the db---------START portion of results.tpl--------- [!]---weave some or all of this into your results page - whatever you call it ---[/!]

View alternate photos:
[ListFiles path=../images/[sku]/] [hideif [url][index][/URL]=1] [url][sku][/URL]&imageID=[index]>[Index]  [/hideif] [/ListFiles]---------END portion of results.tpl--------- ---------START viewImage.tpl--------- [!]---fill this page out to suit ---[/!] Here is photo # [imageID], for product # [sku]:


View alternate photos:
[ListFiles path=../images/[sku]/] [hideif [url][index][/URL]=[url][imageID][/URL]] [url][sku][/URL]&imageID=[index]>[Index]  [/hideif] [/ListFiles]

[url][sku][/URL]>Back to main page for product # [sku] ---------END viewImage.tpl---------Alan wrote:> The files are partially named with the SKU and are inside a folder also named with the > SKU. An example of the path to an image would be ../images/0001/0001_photo1.jpg. The > field in the database that tells how many images there are is named photos. > > Alan > > John Butler wrote: > > > how are you storing these images? > > > > All in one folder, and they all contain the SKU in the name with -N tacked on the > > end? > > > > Or each SKU has its own folder for images? > > > > or? > > > > -John > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ John Butler

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Date search - yes or no (1997) Errata: WCS Newbie question (1997) How can I Add several Items into the cart at once? (1997) File Upload (1997) totals (1997) Location of Browser Info.txt file (1997) WebCatalog f2 Installation (1997) More on the email templates (1997) Checking for blank form fields 2nd idea (1998) Web*SSL and WebCatalog (1997) WebMerchant & CC Response (2002) Error & Problem (1997) unable to launch acgi in WebCat (1997) upgrading (1997) WebCat for mass emailings (1997) Tech support (2000) Large databases in WebCat (1997) Talk Archives down? (2002) RE: WebCat cannot handle compatible search parameters? (1997) UPDATE PROBLEM (1997)