Publishing jpegs

Hi all,

I have about 100 jpegs that I’m in the process of laying out on a page and then uploading to the server. They are referenced in a database and called into the product pages by php. These images are sized to the correct proportion for the Product pages.

Each image is named along the lines 001-PC.jpg, 002-PCF.jpg, 003-POC.jpg etc. but when uploaded the initial zeros, number and the dash are removed, the uppercase letters are changed to lower case and the extention is renamed .jpeg - a bit awkward when all the original images were in that format and were named as such in the database.

You can’t even rename them in the Inspector pallet, the same thing happens

Is there any way to size them in Freeway and upload them without Freeway changing the name and the file extention.

These images were originally saved in Photoshop which has a default file extention of jpg for its jpegs.

I know I could resize them all in photoshop and then upload them, but I wanted to have a page of images for each section (they are fairly small - 2 to 5K each) so I could make sure they were all the same size and proportion which they aren’t at the moment.

Any Ideas would be appreciated.

Thanks

Steve.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Are you just wanting to get them on the server so that they can be called from the database?

If so you are better to FTP them to a specific folder on the server ie. product images and call them from there.

Nothing stopping you having a page of thumbnails that Freeway handles as well.

I think there is also an Action called something like ‘Upload Stuff’ that you can use to add files to the ones that FW uploads anyway. - never used it myself.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Try these

The Softpress KnowledgeBase has Extra Resources:

http://www.softpress.com/kb/article.php?id=456

Tim Plumb has Upload Stuff:

http:/www.freewayactions.com/product.php?id=beta

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

In a word, no. The only way to effectively manage this would be to
have them placed in Freeway as pass-through, but that won’t allow you
any resizing or cropping.

The rules, as best I can reverse-engineer them in this case, is that
names may not begin with a number or contain any dashes or
underscores. I believe this is done to avoid JavaScript errors down
the road when the image names may be used as variables in a rollover
or similar effect.

So you could rename them in the first place to follow these rules
(and change the references in the database, too) and then let Freeway
do its thing. But I suspect this will be more work than simply
uploading them in another application that doesn’t do anything to
filenames. (Cough, cough, Transmit, cough, cough.)

Walter

On Jun 23, 2008, at 4:01 PM, SteveB wrote:

Is there any way to size them in Freeway and upload them without
Freeway changing the name and the file extention.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for the info Walter.

On 23 Jun 2008, 8:34 pm, waltd wrote:

In a word, no. The only way to effectively manage this would be to
have them placed in Freeway as pass-through, but that won’t allow you
any resizing or cropping.

The rules, as best I can reverse-engineer them in this case, is that
names may not begin with a number or contain any dashes or
underscores. I believe this is done to avoid JavaScript errors down
the road when the image names may be used as variables in a rollover
or similar effect.

Ah so that’s why it always changes what you type in!!

So you could rename them in the first place to follow these rules
(and change the references in the database, too) and then let Freeway
do its thing.

I had thought of doing that, it might not be the easiest solution, but it would work.

But I suspect this will be more work than simply
uploading them in another application that doesn’t do anything to
filenames. (Cough, cough, Transmit, cough, cough.)

Again, another solution but it’s probably best to rename the files as it doesn’t really matter if they start with the number, the important bit are the letters before the .jpeg. Excel will help with the renaming in the database!

On 23 Jun 2008, 8:26 pm, DeltaDave wrote:

Try these

The Softpress KnowledgeBase has Extra Resources:

www.softpress.com/kb/article.php?id=456

Tim Plumb has Upload Stuff:

http:/www.freewayactions.com/product.php?id=beta

David

I thought there was something like that to upload other stuff, might be useful later as the website grows…

Thanks for the reasons and solutions. Oh well, back to the database…

Regards,

Steve.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi,

I found this thread because I had the same awful problem. Only, I didn’t discover it was actually a problem until I had imported 200 images into 100 separate html pages with identical layouts. Oye Vey…what a mess it made of my work.

Before starting it all over again, as there was no other option but to do so, I experimented a little. First off, I could NOT use a pass through because my images were actually place holders for the images to come…profile pictures of racers on their own profile pages. It was ALL initially set up with four digit numbers from 0001 on up.

I experienced the number and dash drop off. So “0001-profileimageA” appeared as “profileiamgeA” with 99 other profile imageA jpegs to compete with in the Resources folder. “0001” appeared as “Item1”. And so in.

I discovered that batch renaming all the images in the respective folders of the racers portraits and the racers vehicles fixed the problem when I: put the number at the end! So “profileimageA0001” and “profileimageB0001” each worked perfectly fine.

My throbbing headache is gone. But, now…I have to redo all 100 pages and such. At least I know, now, that my efforts will not be fruitless.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Did you try making your filenames img-0001-whatever.jpg? I think the
numbers only get dropped from the beginning of filenames. There’s
actually a reason for this: an HTML id cannot begin with a number, and
Freeway uses the image filename to construct the default ID for that
image. If you change the Title attribute in the Freeway Inspector,
then the ID will be based on that, but the same rules always apply,
because they’re set by the W3C – no leading numerals in an ID.

Walter

On Jan 16, 2011, at 4:23 PM, SuzanneD wrote:

Hi,

I found this thread because I had the same awful problem. Only, I
didn’t discover it was actually a problem until I had imported 200
images into 100 separate html pages with identical layouts. Oye
Vey…what a mess it made of my work.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options