PDA

View Full Version : image won't show


aliscot
17-Jan-2008, 01:47 AM
Please help me before I lose my mind!!!
I have edited the primary template to add extra boxes to the right of my smart theme site. I can add text, a link etc but cannot get an image to work.
I have saved the thumbnail to my photos folder in site 1 folder. I have added it to the additional files section in advanced.
I have searched all night for a solution but am completely baffled...I may be doing something really stupid?

here is the html I have used....

<br>
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" class="actsmallheading" background="tab_pal2.gif"><b>&nbsp;&nbsp;NEW PRODUCTS</b></td>
</tr>
<tr valign="top">
<td class="thinred2">
<table width="100%" border="0" cellpadding="2" cellspacing="2" class="actxxsmall">
<tr>
<td valign="top"><tr><td><a href="http://www.hificablesandaccessories.co.uk/acatalog/HOME_CINEMA_LIGHTING.html">Illuminaire Home Cinema Lighting<br><br><img src="illuminaire_thumb2"></a></td>
</tr>
</table>
</td>
</tr>
</table>

Paul Bulpit
17-Jan-2008, 04:18 AM
<a href="http://www.hificablesandaccessories.co.uk/acatalog/HOME_CINEMA_LIGHTING.html">Illuminaire Home Cinema Lighting<br><br><img src="illuminaire_thumb2"></a>

You need the full filename, for example:

<img src="illuminaire_thumb2.jpg">

aliscot
17-Jan-2008, 11:47 AM
I changed it as suggested...
<br>
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="22" bgcolor="NETQUOTEVAR:PALCOLOR2CSS" class="actsmallheading" background="tab_pal2.gif"><b>&nbsp;&nbsp;NEW PRODUCTS</b></td>
</tr>
<tr valign="top">
<td class="thinred2">
<table width="100%" border="0" cellpadding="2" cellspacing="2" class="actxxsmall">
<tr>
<td valign="top"><tr><td><a href="http://www.hificablesandaccessories.co.uk/acatalog/HOME_CINEMA_LIGHTING.html">Illuminaire Home Cinema Lighting<br><br><img src="illuminaire_thumb2.jpg"></a></td>
</tr>
</table>
</td>
</tr>
</table>

Now I am getting this error when uploading.....

I have the image illuminaire_thumb2.jpg saved in the photos folder within the site 1 folder. I have also added it to the additional files section using the "advanced" "additional files" buttons.
Any thoughts?

leehack
17-Jan-2008, 12:06 PM
All images 'online' are stored in the same folder, therefore they must be named uniquely. The error message is explaining this to you. Even though they are in different places (on your PC), once they go online they will be in the same place and clash. Simply rename one uniquely and the message will disappear.

aliscot
17-Jan-2008, 12:29 PM
ok, I renamed the one in the site 1/photos folder to illuminaire_thumb3.jpg and left the one in the "additional files" section as illuminaire_thumb2.jpg

when uploading I get a different message saying....

"photos\illuminaire_thumb2.jpg,C:\Program Files\Actinic v7\Sites\Site1\photos\illuminaire_thumb2.jpg
The file defined in Advanced | Additional Files couldn't be opened."

Mike Hughes
17-Jan-2008, 12:36 PM
Isn't that because you renamed that image to be ...thumb3 ?

Mike

aliscot
17-Jan-2008, 01:05 PM
Isn't that because you renamed that image to be ...thumb3 ?

Mike

I thought I had to rename one of them so they were both unique?
Now I am really confused!

leehack
17-Jan-2008, 01:12 PM
Now I am really confused!
Bull in a china shop springs to mind here, calm down breathe and think logically. The file you are referencing in additional files needs to be a unique name and point to a different place to what you are having your other file named and pointed to. That is all, just start the whole process again, remove existing references and add new ones instead of trying to codge existing info.

OriginalTouch
17-Jan-2008, 01:22 PM
If I am right and look at it logically.

The image in the additional files is referencing to the image you want uploaded from the photos folder and should be the same name - why did you change that one?

If you look at the first error message, it says that the 2 images that are conflicting are both called the same, one in the Site1 folder and one in the photos folder. ie you have 2 images of the same name in 2 different locations.

Can you not look in Windows Exporer to find which 2 image files are called the same thing instead of trying to change the wrong image.

Or start again?

aliscot
17-Jan-2008, 01:26 PM
Hi Lee, what is confusing me is the fact that until now all my images are in the site 1/photos folder, and additional files are added from that folder.
So why do I get an error now when it has been fine until now?
If the image is stored as image1.jpg in my photos folder and it is added to the additional files section it shows as \photos\image1.jpg in there. Does this mean I have to put image1.jpg somewhere other than in site1/photos?
The image1 is only required for one of my side bars so does it need to be in 2 places? can I add it to additional files and then delete it from site1/photos?

Sorry for being so long winded but usually I do manage to grasp what is happening but no this time...

leehack
17-Jan-2008, 01:37 PM
If you add an image to a fragment or to a product, there is no need to add it to additional files also, it will automatically be uploaded for you and sit in the acatalog folder online (as long as it sits within the site1 folder).

I'm a little lost on what you are struggling with to be honest, rather than tell me what's happening, tell me clearly what you are trying to do i.e. what they are etc. and i will tell you what i do in the same situation. I think you are trying to do things too well and either mixing yourself or actinic up.

In principle, you only add things into additional files, that actinic is not automatically picking up for you.

OriginalTouch
17-Jan-2008, 01:43 PM
Exactly what I was trying to say,

there are 3 locations being muddled here:

Site1/
Site1/Photos/
"Additional Files"

Additional Files seem to be irrelevant and I'm not sure either why they are being used and why they have been changed - maybe get rid of them - just keep those pages that are otherwise hidden from the website.

Check the images in Site1/ and in Site1/Photos/
That is where the conflicting images are located. (First Error)

aliscot
17-Jan-2008, 01:45 PM
Hi sam,

I deleted the image called illuminaire_thumb2 and 3 etc from both the site1/photos and additional files and started again.
I created an image called illuminaire_crop and added it to my site1/photos folder. I then added it to the additional files section. I then ammended the act_primary etc to show <img src="illuminaire_crop.jpg"> .
I still get the original error message implying that the image is in the site1 folder as well as the photos folder but it isn't. It is only in the site1/photos folder. I have checked the site1 folder for duplicates and found none.

aliscot
17-Jan-2008, 01:56 PM
Hi sam,

I deleted the image called illuminaire_thumb2 and 3 etc from both the site1/photos and additional files and started again.
I created an image called illuminaire_crop and added it to my site1/photos folder. I then added it to the additional files section. I then ammended the act_primary etc to show <img src="illuminaire_crop.jpg"> .
I still get the original error message implying that the image is in the site1 folder as well as the photos folder but it isn't. It is only in the site1/photos folder. I have checked the site1 folder for duplicates and found none.

I have now removed all illuminaire images from additional files section.
The only illuminaire images left are in my site1/photos folder.

I uploaded and received no error/conflict messages but the image still wont show in the right side bar. I get a square with a red cross in it.
Could there be some other reason why the image won't show?

RuralWeb
17-Jan-2008, 02:05 PM
Could there be some other reason why the image won't showFor images in the layout I always put them in the site 1 folder DO NOT use a sub folder in there.

NormanRouxel
17-Jan-2008, 02:06 PM
You need to add "illuminaire_crop.jpg" (once only, wherever it is) via Advanced / Additional files. That's all.

Or do as Mal says and move that image to your Site folder. However if you do this do not use an image of the same name in any products unless it's the Site folder one or we're back to post#1.

OriginalTouch
17-Jan-2008, 02:07 PM
You have got rid of the error message - step one.
(Still cannot understand why you were putting it into the additional files at all???)

Now, show us your code where the image is not showing.

OriginalTouch
17-Jan-2008, 02:08 PM
Norman can help you better than I can !

aliscot
17-Jan-2008, 02:10 PM
Mal, I removed it from the site1/photos folder into the site1 folder and... IT WORKED!!! Thank you so much everyone for your input.

NormanRouxel
17-Jan-2008, 02:11 PM
She's got it! I see the image now working. Phew!

NormanRouxel
17-Jan-2008, 02:12 PM
Just so you know. If you put an image file name into a design and Actinic can find that image in the Site folder, then Actinic will automatically upload it for you.

aliscot
17-Jan-2008, 02:14 PM
I thought I read somewhere that it had to be in "additional files" or it wouldn't work. I may be getting mixed up with some fragments on my homepage where I edited html into the text box to give me 4 columns, and had to add the image files to additional files section before they would show.

Does that mean then that if a file is added to the additional files section there is no requirement for it to also be in the site1 or site1/photos folder?

leehack
17-Jan-2008, 02:20 PM
If actinic provides you with an image box to fill out the file name, e.g. as per a product, extended info page or a fragment, that image will upload auto for you. Come outside of that and you MIGHT need to add it to additional, but upload and test it, if it shows, do not worry, if it doesn't add it to additional, upload and it should be there.

Was your image failing on brochure pages and not product pages? For less problematic applications with custom images into layouts, just put the full URL in to the image, there is no confusion then.

NormanRouxel
17-Jan-2008, 02:23 PM
Does that mean then that if a file is added to the additional files section there is no requirement for it to also be in the site1 of site1/photos folder?A file should always only be in one place.