Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Webreality.net #1
Change Massive HTML Help
I was putting together a website in PHP using Dreamweaver this week. After I
thought I was done, I checked it online. Turns out all the images are not
showing up. I know what I did wrong, let me explain:
I am using PHP Include, this is the code for the main page
<? if (!$page) $page=allproducts; ?>
<?php include("header.php"); ?>
<?php include("allproducts"); ?>
<?php include("footer.php"); ?>
Ok, the allproducts part changes when you click on a link, I'm sure you know
how this works. I put the images inside the maindirectory under the following
path "images/products/large/image.jpg", "images/products/medium/image.jpg", and
"images/products/thumbs/image.php"
In the product files (listed under the maindirectory under the following path
"products/pet_beds/file.php") I have the image files as "<img
src="../../images/products/medium/brandy.jpg" width="300" height="188"
border="0">, I have come to the conclusion by testing it with one image (which
I should have done to begin with :-\ ) that I need to change all the img src
tags to the following: <img src="images/products/medium/brandy.jpg" width="300"
height="188" border="0">.
Is there an easy way to remove the "../../" from each img src in every file?
Please please help me. email me at [email]webreality@aol.com[/email] with any help.
Please.... Thank you so much in advance.:o:confused;
Webreality.net Guest
-
Refresh design time HTML on style change
Hi, in my control I have some properties that are style objects (ex of type TableItemStyle) One example is below: private TableItemStyle... -
Which is better, opening and closing, or a massive file opening and a massive closing?
On Mon, 16 Feb 2004 11:16:54 -0600, wustl.edu (Shiping Wang) wrote: >Hi, >How can I rearrange an array in a specific order based on the order of... -
Change relative path to absolute in an HTML file
I need to download an html file and either use it locally or use it on another host as a mirror page. But the html has many relative path for href... -
change attribute in html elements
How can I change attribute in html elements from my aspx.cs page? For example if I want to change the src-attribute in an iframe. ... -
Dynamically change HTML (PARAM) value in VB.NET
Did you create an HtmlGenericControl in your CodeBehind class that the client-side control could inherit? -- HTH, Kevin Spencer ..Net... -
Webreality.net #2
Re: Change Massive HTML Help
I figured out the solution, thank god for FInd and Replace. I didn't think it
would work on a partial code, but it did. Take heed in my words, always test
something before you spend 8 hours on mulitple files. :-D
Webreality.net Guest
-
Murray *TMM* #3
Re: Change Massive HTML Help
Open each include file and edit it. How hard can that be?
ALL links in include files should always be root relative to avoid such
problems, e.g.,
<a href="/whatever/whatever/foo.html"
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Webreality.net" <webforumsuser@macromedia.com> wrote in message
news:dba5hp$m5k$1@forums.macromedia.com...>I was putting together a website in PHP using Dreamweaver this week. After
>I
> thought I was done, I checked it online. Turns out all the images are not
> showing up. I know what I did wrong, let me explain:
> I am using PHP Include, this is the code for the main page
>
> <? if (!$page) $page=allproducts; ?>
> <?php include("header.php"); ?>
> <?php include("allproducts"); ?>
> <?php include("footer.php"); ?>
>
> Ok, the allproducts part changes when you click on a link, I'm sure you
> know
> how this works. I put the images inside the maindirectory under the
> following
> path "images/products/large/image.jpg",
> "images/products/medium/image.jpg", and
> "images/products/thumbs/image.php"
>
> In the product files (listed under the maindirectory under the following
> path
> "products/pet_beds/file.php") I have the image files as "<img
> src="../../images/products/medium/brandy.jpg" width="300" height="188"
> border="0">, I have come to the conclusion by testing it with one image
> (which
> I should have done to begin with :-\ ) that I need to change all the img
> src
> tags to the following: <img src="images/products/medium/brandy.jpg"
> width="300"
> height="188" border="0">.
> Is there an easy way to remove the "../../" from each img src in every
> file?
>
> Please please help me. email me at [email]webreality@aol.com[/email] with any help.
> Please.... Thank you so much in advance.:o:confused;
>
Murray *TMM* Guest



Reply With Quote

