Cannot Use External Images

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
sawz

Cannot Use External Images

Post by sawz »

i have tried using images from other sites, with permission, but CMS won't allow me
to hotlink them. i have tried doing it a couple of different ways and the
image dosen't show. CMS takes the code and changes it, either adding additional tags to
the snippet or removing some of the tags.

how do i add external images that work please?


lol no SPELL CHECK!! time to upgrade the forums... :)
Last edited by sawz on Fri May 05, 2006 1:48 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Cannot Use External Images

Post by Dr.CSS »

are you trying to add them to page content in the 'Edit Page' window? if so you have to'View Source' and type or paste it in there, doesn't work in tinyMCE every time i tried it recodes it  like  "  '  "  comes out &qte; no matter what i do.

  mark
sawz

Re: Cannot Use External Images

Post by sawz »

i tried doing it thru view source and so far no luck
it adds characters and removes characters making the code useless

i am trying to add this:

Code: Select all

<a href='http://host-tracker.com/website-uptime-statistics/129659/'><img alt='external website monitoring service' 
width=80 height=15 border=0 src="http://ext.host-tracker.com/uptime-img/?s=15&t=129659&m=00.09&p=Total" ></a><noscript>
this is what i get

Code: Select all

<a href="http://host-tracker.com/website-uptime-statistics/129659/"><img width="80" height="15" border="0" 
alt="external website monitoring service"src="/ext.host-tracker.com/uptime-img/?s=15&t=129659&m=00.09&p=
Total" /></a><noscript></noscript>
Last edited by sawz on Fri May 05, 2006 2:20 pm, edited 1 time in total.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Cannot Use External Images

Post by Elijah Lofgren »

It looks like FCKeditor is trying to fix the invalid code you were given (no quotes around attribute values!)
FCKeditor tried to fix the code (by adding quotes around attributes) but it ended of breaking it.  ;)

Try clicking the "Source" button in FCKeditor and pasting in this code:

Code: Select all

<a href="http://host-tracker.com/website-uptime-statistics/129659/"><img width="80" height="15" border="0" alt="external website monitoring service" src="http://ext.host-tracker.com/uptime-img/?s=15&t=129659&m=00.09&p=Total" /></a>
It worked for me on CMSMS 0.13 beta 2 (see attached image).


[attachment deleted by admin]
Last edited by Anonymous on Fri May 05, 2006 2:49 pm, edited 1 time in total.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Cannot Use External Images

Post by Dr.CSS »

worked for me using version 0.12.1 Savusavu
 
  mark

[attachment deleted by admin]
sawz

Re: Cannot Use External Images

Post by sawz »

i don;t know what you guys did, but it stil isn't working for me.
the editor strips the http://www from the image tag so no image
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Cannot Use External Images

Post by Dr.CSS »

just this,, notice no 

    mark

[attachment deleted by admin]
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Cannot Use External Images

Post by Dr.CSS »

hey Elijah
did you know that Firefox has an extension to take a 'screen shot' of a web page and get the whole thing even if it's bigger than the window w/o the browser frame,, example

  mark

[attachment deleted by admin]
sawz

Re: Cannot Use External Images

Post by sawz »

no matter what i do, it strips the http:// part of the img src tag
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Cannot Use External Images

Post by Dr.CSS »

goto My Prefs » User Preferences
under
User Preferences

Select WYSIWYG to use:  select none

goto the page you want to add this to and you will see an HTML type stripped down edit page, insert the code, submit, and it should work,, change user pref. back to original so you can edit other pages normally, if you need to edit that page again you might have to revert to 'none' so it dont eat your code again,,
BTW do you have the edit set to Format: normal? that will screw you up, don't add the code inside any or other tags on that page.

    mark
sawz

Re: Cannot Use External Images

Post by sawz »

maksbud wrote: goto My Prefs » User Preferences
under
User Preferences

Select WYSIWYG to use:  select none

goto the page you want to add this to and you will see an HTML type stripped down edit page, insert the code, submit, and it should work,, change user pref. back to original so you can edit other pages normally, if you need to edit that page again you might have to revert to 'none' so it dont eat your code again,,
BTW do you have the edit set to Format: normal? that will screw you up, don't add the code inside any or other tags on that page.

    mark
already tried that, probably while you were posting that message.
i'm done playing with it.
so much for simple
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Cannot Use External Images

Post by Elijah Lofgren »

maksbud wrote: hey Elijah
did you know that Firefox has an extension to take a 'screen shot' of a web page and get the whole thing even if it's bigger than the window w/o the browser frame,
No I didn't. What's the name of it? I searched, but couldn't find it.
sawz wrote: i'm done playing with it.
so much for simple
Sorry you're having so much trouble.  :-\
What version of CMS Made Simple are you using? Both maksbud and I have gotten the code easily working. Could it be that you have an older version of CMS Made Simple? What browser are using?
Last edited by Anonymous on Fri May 05, 2006 5:17 pm, edited 1 time in total.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
sawz

Re: Cannot Use External Images

Post by sawz »

i use firefox. i have a slightly older version of cms.
heres what i did. maksbud suggested i disable the editor, make my code, then turn the editor back on.
so thats what i did, i made an html_blob,(that should say my version is older)
i enabled the editor and tried it and it worked, so far

i put it on a test page i have http://www.sawz.com/index.php?page=test
so if i leave it as a blob, theres no chance of it getting screwed up as i have no need to edit it.

thanks guys, i do appreciate your effort here, hopefully i can return the favor
somehow, someday
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Cannot Use External Images

Post by Dr.CSS »

too bad hope we didn't really lose him  :(  cool he posted while i was, good to see it worked!

extension https://addons.mozilla.org/firefox/2392/
i looked under Developer Tools have you used the Web Developer ext. it lets you edit CSS on the fly and see changes in real time, i use it a lot when people post ? about their styles being all messed up.

  mark
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Cannot Use External Images

Post by Elijah Lofgren »

maksbud wrote: extension https://addons.mozilla.org/firefox/2392/
i looked under Developer Tools have you used the Web Developer ext. it lets you edit CSS on the fly and see changes in real time, i use it a lot when people post ? about their styles being all messed up.
Thanks for the link to the GraphicsEx extension. I've installed it and it looks like it will come in useful.

I already have the Web Developer extension installed. It's great for debugging web apps.  :)
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Locked

Return to “CMSMS Core”