close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Setting the default image folder PowerCMS

Thread began 3/24/2010 9:05 am by admin140217 | Last modified 3/26/2010 3:15 pm by Ray Borduin | 2287 views | 7 replies |

admin140217

Setting the default image folder PowerCMS

When viewing the content placed in the page in the history of poswer CMS I don't see the images I have placed on the site in preview although they do show up in the site itself.

Fo I need to set a default image folder for site images as opposed to CMS images?

Thanks

Sign in to reply to this post

Dani Chankhour

Can you please explain a little bit more about the issue you are having. If you can send me some screen shots that would be helpful.

The images should show in the history page if they are showing up correctly in the front end pages, and you should be able to use any folder you specify in the globals file.

Thanks.

Sign in to reply to this post

admin140217

Dani,

here is what I mean. I cannot see the image I'm putting into the content via the CMS but is viewable in the site. A screen shot is attached of the CMS history where the image does not show up.

Sign in to reply to this post

Dani Chankhour

The issue is related to how the path is created. If you click the source button on the HTMLEditor after clicking the revert button, please copy and past the source of the image. I think looking at the source of the image will help us find the issue.

Also, are you seeing the image in the editor when you insert a new content or is it just in the history page?

Sign in to reply to this post

admin140217

I think I know what you mean:

Here is the code as I have it in the page before CMS,

<p><img src="images/AlWatts_blog.jpg" width="150" height="75" alt="Al Watts" style="border:1px solid #000;" /><br /><br />
<strong>Al Watts: Achieving goals</strong> Eight years ago, right before I became a father, I made a list of goals. we need more information for this spot.</p>

the CMS changes things drastically, see below:

<p><img style="border-bottom: #000 1px solid; border-left: #000 1px solid; border-top: #000 1px solid; border-right: #000 1px solid" alt="Al Watts" width="150" height="75" src="images/AlWatts_blog.jpg" /><br /><br /><strong>Al Watts: Achieving goals</strong> Eight years ago, right before I became a father, I made a list of goals. we need more information for this spot.</p>

It looks like the CMS is not formatting properly. It is breaking the inline style out into its variables and in doing so is moving the SRC statement.

Not sure if this is the problem but it should do this.

Sign in to reply to this post

Dani Chankhour

That is just how the HTMLEditor renders the css styles in the editor, but i think the issue is in the path that is in the CMS. The path should be a site relative:

/CMS/files/cms_files/VS.jpg or something like that.

Can you please tell me what you have in your globals file for the local or remote setting?

Also, do you get the same issue if you uploaded a new image in the HTMLEditor?

Sign in to reply to this post

admin140217

The local and remote settings are below:

$WAGLOBAL_localRoot = "/MySiteDir/CMS/"; //relative path to your PowerCMS files on your local testing server.
$WAGLOBAL_remoteRoot = "/MySiteDir/CMS/"; //relative path to your PowerCMS files on your remote server.

//iRite Images upload settings
$WAGLOBAL_Images_Folder = "/MySiteDir/images/"; //relative path to your images folder.

The site structure locally is:

Site root directory
CMS (folder)
images (folder)
Site files

When I chose to upload a file, yes I get the same issue, I think you may be correct in that it is the path. When I open the file manager the view window does not populate with the site images from the images folder. I have tried various paths but haven't seemed to have gotten it right.

Sign in to reply to this post

Ray BorduinWebAssist

I will create a support incident so that we can do screen sharing and help you investigate this issue directly.

Please update your incident with contact information and a good time to call.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...