Results 1 to 7 of 7

Thread: dreamweaver /image %20 in file names

  1. #1
    Join Date
    Oct 2005

    dreamweaver /image %20 in file names

    i am having terrible problems with my site. some pages are not being displayed although they are on the server. however they show 0 kbs in size. i also can not upload or delete some files.

    in any case, after this was all happening...my images suddenly disappeared from the site online without me doing anyhting?!. i changed the chmod to 755...although i think it is supposed to be 644. and they re-appeared.

    the other big problem is that within dreamweaver now many, but not all, of my images have %20/folder/filename.gif in them. when i try and replace the images....as it is looking like i would need to.... the same file problem occurs.

    how can i correct this? i know that this problem with the images can happen when one moves files or the site from the root folder in dreamweaver....however i have not done this. whatever, i need to change these files to the correct path. can someone please help with the solution to this problem?

    thank you.

  2. #2
    Join Date
    Jun 2005
    United Kingdom
    Assuming you have correctly filed images on your server, go into code view and directly correct the file location. So, assuming you have all your images directly in a folder called "images" - and that's directly in your root directly - and that your page files are in your root directory -
    <img src="images/filename.gif" alt="whatever" 
    width="xxx" height="yyy" border="z">
    should do it.

    Insert your own values for x, y, and z of course.

    Double check in design view, then upload to server and check again.


  3. #3
    Join Date
    Nov 2002
    Biwabik, MN
    The %20 means you have a space in the name of the folder or file.

    One of the most basic rules of webdesign is you do not use spaces. IF you must set one word apart from the other studies have found that the "-" mark is better than "_". (without the quotes)

    Rename the files then use the linking toolbox and relink the image to the file.
    Compguy Pete
    The Benevolent Administrator

    No child should have to deal with a Brain Stem Tumor...

  4. #4
    Join Date
    Jun 2005
    United Kingdom
    From zakaro's original message, I rather assumed that the blank file space was in an internal folder not intended for the server. But I can see there is no guarantee on that.

    Do you have any reference concerning a hyphen being preferrable to an underscore?

  5. #5
    Join Date
    Oct 2005

    reply to %20

    i do have underscores in my file name....but not at the begiining. something like......./san_francisco/house/file.101

    everything was fine though......and only some of the files are doing this. when i try and re-insert the pictures it does exactly the same thing. other pictures do not. this changed on its own. almost like something is corrupt. for instance on some of the images it does not contain this yet does have the underscores in the file path. these i can change images and all is fine. on the corrupted image paths i can do nothing...no matter what and the %20 stays in the file name. i am thinking that i must completely re-do the pages but this would be ridiculous.

  6. #6
    Join Date
    Nov 2002
    Biwabik, MN
    Well can you upload a page or point us to a page where this is happening... Because I dont think were getting the whole picture...

    About the underscore vs the hyphen... it is really about a way we normally type, how often do we ever use an underscore in a letter or email or document? the Hyphen has always been there in cases like pre-installed, pre-owned & Czecho-Slovakia... (Lame examples I know but It's all I can come up with on short notice). In the end when your making file names for your site, it just seems natural to write it out as other people may type it in to try and find your site/content.

    Then I came across a little over a month ago I came across this blog update: Which really spoke to me.


    Since reading this I've seen a number of other bloggers mention and agree with Matts comments.
    Compguy Pete
    The Benevolent Administrator

    No child should have to deal with a Brain Stem Tumor...

  7. #7
    Join Date
    Jun 2005
    United Kingdom
    Compguy Pete, thanks - I'm convinced. I must admit I have tended to use hyphen or underscore randomly - sloppy, I know. Guess I am stuck with existing pages. Will mend my ways in future.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.14955 seconds
  • Memory Usage 2,894KB
  • Queries Executed 13 (?)
More Information
Template Usage (33):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (7)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates