Modifying web photo gallery template – Photoshop CS

AS
Posted By
Alicia_Stack
Dec 16, 2003
Views
634
Replies
14
Status
Closed
Hi,

Trying to modify the web photo gallery option and running into a few sticking points:

1) On the index page, it provides the information "page 1 of 2" which is nice, but the "P" in page should be capitalized. Where is this so I can fix it? I’ve poured over the source code, but can’t find it, so it must be in the program somewhere.

2) We just upgraded from Photoshop 6, and for that we were able to list the file names with just the name, not the extension ( file is named "1" vs. "1.jpg"). I can’t figure out how to do this in Photoshop CS. I have no idea if I knew how to do it – I want the caption for the image to always just have the number and not to include the extension (subpage, index page, caption, thumbnail, etc.).

3) Separate issue: I just upgraded from Win98 to Win2000, and now it won’t let me save a file as "1", "2", etc. In Win98, I had to name the files "01", "02" etc. so that they would be displayed in the proper order. Any suggestions on how to do this for Win2000 so the thumbnail images have a consistent naming system and are displayed in the proper order?

I’ve spent all day on this, so any help will be much appreciated! Thanks!

Alicia

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

RA
Richard_A._Ross
Dec 16, 2003
now it won’t let me save a file as "1", "2", etc

What are you talking about?

In Win98, I had to name the files "01", "02" etc. so that they would be displayed in the proper order

Under XP, file sorting take consecutive digits te treat them as number. So you don’t need to prepend 0 anymore to get the right order. Don’t know if this is so in 2000.
L
LenHewitt
Dec 17, 2003
Alicia,

I don’t think you will be able to capitalize the ‘P’ – it comes from the variable %PAGE% which is internally generated
AS
Alicia_Stack
Dec 17, 2003
Thanks – any idea how to have only the file name and not the extension ("1" for "1.jpg") to show?
L
LenHewitt
Dec 17, 2003
‘Fraid not, Alicia….
RA
Richard_A._Ross
Dec 17, 2003
can’t you just modify the html?
AS
Alicia_Stack
Dec 17, 2003
I’d like to do that – just don’t know how to modify it so the .jpg doesn’t show. Any advice? Thanks!
L
LenHewitt
Dec 18, 2003
Alicia,

In the HTML will be lines like:

<A HREF ="image_name.jpg" width="xx" Height="xx">image_name.jpg</a>

Needs modifying to:

<A HREF ="image_name.jpg" width="xx" Height="xx">image_name</a>
AS
Alicia_Stack
Dec 18, 2003
Hi,

Cant find anything that specifies jpg in any of these files. Im including the source code with the hope that someone can identify the problem. Thanks a lot!

Alicia

Caption File:

%NAME%

Index Page File:

0000 text=%TEXT% link=330066 vlink=FFCC00 alink=330066>

©
COPYRIGHT 2004 KEEN BRANDING
PROJECT:
%HEADER%
ROUND: %PHOTOGRAPHER%
DATE: %DATE%
%EMAIL% <mailto:%EMAIL%>

<%PREVINDEX%>

%PAGE%

<%NEXTINDEX%>

%THUMBNAILSROWS%

SubPage File:

©
PROJECT:
%HEADER%
ROUND: %PHOTOGRAPHER%
DATE: %DATE%
%EMAIL% <mailto:%EMAIL%>

<%PREVIMAGE%>
<%CURRENTINDEXANCHOR%>
<%NEXTIMAGE%>

%NUMERICLINKS%

<%NEXTIMAGE_CIRCULAR%>

%FILENAME%

%CAPTIONTITLE%

%COPYRIGHT%

ThumbNail File:
<%IMAGEPAGE%>
B
baidarkabob
Dec 18, 2003
Alicia, If you are unable to modify the code so that %FILENAME% returns the filename without the extension you could try unchecking filename in the WPG dialogs and instead rely on Title. You would have to modify the metadata so that Title shows the numbers or text you want displayed of course.

bob
L
LenHewitt
Dec 18, 2003
Alicia,

You broke the forum! <g>

If you post HTML here and wish it to be visible, you MUST put a space after each opening ‘<‘ HTML Tag bracket – otherwise the forum software will attempt to interpret it.

I have fixed the code for you…

Now, View the file in a Web browser and select View Source. That’s where you will see the jpg referenced. If using MSIE, view source will open the file in Notepad and you can edit it there.
AS
Alicia_Stack
Dec 18, 2003
Hi Everyone,

Thanks for all your suggestions – I finally figured it out (can’t you see how happy I am!). Need to replace %FILENAME% with %ALT% in the caption file and the subheader file and it works. Boy, what a pain. Now if only I could figure out how to capitalize the "P" in "page 1 of 2"…

Thanks again for your interest and your help. Have a great day!
DM
dave_milbut
Dec 18, 2003
Now if only I could figure out how to capitalize the "P" in "page 1 of 2"…

Where you see:

<font face="Arial, Helvetica, sans-serif" size="2">%PAGE%</font>

add the following css command:

text-transform:uppercase

like so:

<font style="text-transform:uppercase" face="Arial, Helvetica, sans-serif" size="2">%PAGE%</font>

here’s a ref to the command:

< http://msdn.microsoft.com/workshop/author/dhtml/reference/pr operties/texttransform.asp>
AS
Alicia_Stack
Dec 19, 2003
That worked – thanks a lot!! Happy holidays everyone!
DM
dave_milbut
Dec 20, 2003
glad to hear it alicia!

happy holidays to you too.
dave

Must-have mockup pack for every graphic designer 🔥🔥🔥

Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.

Related Discussion Topics

Nice and short text about related topics in discussion sections