Stone Design Forums

Discussion for all things pertaining to Stone Design software
It is currently Fri May 24, 2013 10:38 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Renaming images folder in Create web export
PostPosted: Sun Jul 01, 2007 5:50 am 
Offline
User avatar

Joined: Sat Nov 26, 2005 1:43 pm
Posts: 147
Location: Memphis, TN USA
I want to change the images folder name that Create exports/saves to from "images" to something else, like CreateImages or C-Images, to distinguish the images from my Create pages and other application images.

For example, Dreamweaver uses the default Images, with a capital I. I can change that in DW, and I have for all my latest stuff, but I have files uploaded that were there long before I fell in love with Create, and I would have to globally change all my image links if I changed the name of the Capital-I image directory.

When I'm in a hurry, I frequently put images in the wrong folder because the capital I and the lower case i are small and hard to distinguish in my FTP app.

Since I've been using both Create and DW, I have been calling my DW image folder DWImages, but there are other apps and scripts that use the lower case images folder and they all my they have some weird naming things. I just want to keep them separate and reduce the chance of writing over other images created from other apps.

I thought maybe I could do that in preferences, but I'm not seeing it. I looked in PreferenceCommander, but it's no obvious if it's there.

_________________
Robin


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 01, 2007 11:33 am 
Offline
The Head Cheese
User avatar

Joined: Thu Mar 11, 2004 12:19 am
Posts: 1390
Location: Albuquerque
Grab the new build with your feature implemented:
ftp://ftp.swcp.com/pub/tmp/a/Create-2007-07-01.dmg

Since you got Preference Commander, you can set this new default directly:

ImagesFolder = "DesiredFolderName";

Be sure to have no spaces in the name though!

For command line users, here's the default:

• If you want images placed into a folder other than "images", set this hidden default to the name of the folder.

In this example, it's "CreateImages". Be sure to have "Images in sub folder" selected in Web Options, "Misc"

Code:
defaults write com.stone.Create ImagesFolder "CreateImages"



Note, this feature can work with your images on a given server as well, it will just use this ImagesFolder name instead of "images"...

Now, back to my regularly scheduled sunday!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 01, 2007 12:33 pm 
Offline
User avatar

Joined: Sat Nov 26, 2005 1:43 pm
Posts: 147
Location: Memphis, TN USA
I surely do appreciate you taking a break from your regularly scheduled Sunday, and this does work, except that it's now creating a CreateImages folder AND an images folder. I added the line in PreferenceCommander and saved it and sure enough, when I export, the CreateImages folder is created, but it only has a spacer.gif in it and the rest of the images are still going into the "images" folder.

I deleted all the image folders forcing it to start from scratch, but it made no difference.

Was I supposed to delete something in PC? I searched for all "images" but didn't see anything that looked like I should delete it.

Feel free to wait till Monday on this. :P

_________________
Robin


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 01, 2007 1:23 pm 
Offline
User avatar

Joined: Sat Nov 26, 2005 1:43 pm
Posts: 147
Location: Memphis, TN USA
Weird thing, this: When I create a brand new Create file and export, I get only the CreateImages folder that I've renamed with the images inside -- like I want.

When I export something I've already created and have already exported to web, that's when I get both folders. I opened and resaved the file in this latest version of Create, but it still wants to make an "images" folder with all the images in it.

New documents are fine, but old are not. I don't get it.

_________________
Robin


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 01, 2007 2:41 pm 
Offline

Joined: Fri Apr 02, 2004 12:13 pm
Posts: 558
Location: Kent, England.
You are overwriting files of a same name but files are not deleted when you make web pages therefore you still have an images file. Just delete it from your web files then it will be gone.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 01, 2007 3:07 pm 
Offline
User avatar

Joined: Sat Nov 26, 2005 1:43 pm
Posts: 147
Location: Memphis, TN USA
No, that's not it. I have tried deleting everything that I ever exported to web. The entire images folder, the css, everything. Starting with nothing in the folder. Trashed it all. When I export, I still get two image folders.

I also exported to a completely new folder so it would have to look for a different path. Two image folders in there, too.

I also tried moving the file into a new folder and renaming it and exporting to even ANOTHER folder. I still get two image folders. I can delete and start completely blank and I get the two image folders.

I don't even know what else to try. Another computer, I guess. :lol:

_________________
Robin


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 01, 2007 3:19 pm 
Offline
User avatar

Joined: Sat Nov 26, 2005 1:43 pm
Posts: 147
Location: Memphis, TN USA
I'm not explaining it well enough. I can delete the "images" folder with all the images in it, but when I republish, a new "images" folder is created with all the images in it. A CreateImages folder is also created with a spacer.gif in it. That's all.

It's like the software knows to MAKE the CreateImages folder, but it doesn't know to PUT THE IMAGES IN THERE.

But, like I said, it's only on the files I've already created. Anything new I create does what it's supposed to do.

_________________
Robin


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 01, 2007 3:47 pm 
Offline
The Head Cheese
User avatar

Joined: Thu Mar 11, 2004 12:19 am
Posts: 1390
Location: Albuquerque
Did you have any Web Resources that pointed to "images" folder? You can also add new folders into the Web Resource panel by typing them in. If you had resources pointing to "images", it would certainly continue putting them there.

One tweak I'll add is if another folder is specified for image output, to automatically add that as a choice in Web Resources.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 02, 2007 7:26 am 
Offline
User avatar

Joined: Sat Nov 26, 2005 1:43 pm
Posts: 147
Location: Memphis, TN USA
Yes, indeed, I had all my Web Resources pointing to the "images" folder. Okay, I'm ashamed to say that I never, ever do anything with Web Resources. :oops: I have always just let Create do it's thing and I didn't even realize that I could direct the export like that. Back to the manual.

I did go through and put in the CreateImages folder for each Web Resource. That was a lot of double clicking and pasting, but I will only have to do it for older files. Anything new I create will automatically go to the CreateImages folder because I've set it in the preferences.

Yes, it would be helpful to have that folder listed as a choice. It would also be helpful if you could select more than one resource with the shift key and then select the folder for all of them at one time. Have the selection apply to all the Resources you have highlighted. Hmmm ... this could be very useful to me. But, you knew that and that's why it's there. :)

This application is like a treasure hunt.

_________________
Robin


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 02, 2007 9:22 am 
Offline
The Head Cheese
User avatar

Joined: Thu Mar 11, 2004 12:19 am
Posts: 1390
Location: Albuquerque
In the next version:

a. your special default folder is automatically chosen by default
b. it's the top choice in the Web Resources panel popup

(actually in your version, a. is already true, which is why it just worked on new documents)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 08, 2007 12:22 pm 
Offline
User avatar

Joined: Sat Nov 26, 2005 1:43 pm
Posts: 147
Location: Memphis, TN USA
When I bring my SliceAndDice files into Create, those images are still going to the images folder. Can I add something to SliceAndDice in PrefCom to change that? I tried adding ImagesFolder = CreateImages; like I did in Create, but it didn't make any difference.

The way it is now, Create is creating any extra images in the specified CreateImages folder and anything I've brought in from SD is still going to the old images folder.

_________________
Robin


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 08, 2007 1:46 pm 
Offline
The Head Cheese
User avatar

Joined: Thu Mar 11, 2004 12:19 am
Posts: 1390
Location: Albuquerque
You probably missed the thread about SliceAndDice now having a NEW option in the prerelease 4.2 - just enter the name of the folder or even folder within a folder:


Preferences -> Depth of Output, Images in Subfolder[s]:

SlicedImages/AnotherLevelDeepIfYouWant


ftp://ftp.swcp.com/pub/tmp/a/StoneWorks.dmg has all the pre-release packages.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 08, 2007 2:40 pm 
Offline
User avatar

Joined: Sat Nov 26, 2005 1:43 pm
Posts: 147
Location: Memphis, TN USA
Very, very nice. Works perfectly. Thank you!

_________________
Robin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group