listing existing images in ckeditor - ckeditor

I have a strange issue with CKeditor.
If I upload the images through the inbuild uploader function, the thumbnails are created and everything is working as intended.
However, If i use an existing image directory, CKeditor is not loading those images.. or if I upload manually through FTP, the images are not showing in CKeditor.
Is there a way to fix this issue? I have tried to google various solutions but currently I am unsure what I should search for.
will remote image location solve the issue or should I do any other configurations

By using a remote file location, u can map the shared files with remote location and it will solve the issue

Related

drupal node‘s image field do not dispaly the image

The problem was appeared when I migrate my site from WindowsServer2003 to CentOS.
There is a image field in the Node type.In the old server everything goes well,but in the CentOS the nodes' image field do not show the picture. It just show the image name as a link and click the image name I can see the picture in a new browser tab.
I know that the images have been upload in the sites/default/files. And also the permission for the directory is 777.
I google a lot but get no results.
so what cause the problem? any suggestions are appreciated.
Windows and Unix-based systems use different pathing syntax, so the paths for your images may not work now, under CentOS. Use a text editor's find-and-replace feature to change the paths in the database by exporting the database to a SQL file, running the find-and-replace, and then importing the file. Make sure to keep backups of everything.

Dreamweaver Zip, not locating files correctly

I've created a website in Dreamweaver that consists of images and pages. You can navigate through the pages via a taskbar and the images are viewable on certain pages. It all works fine on my local laptop but, when I zip the file and try to open it from my desktop computer, the text comes up but all of the images and links are broken.
Is there anyway I can fix this without restarting my whole website?
You need to unzip your files first. That's where your problem is.

How to edit FTP URLs to HTTP to make images display?

I need to upload images into a page in my website.
I usually use WinSCP FTP program because it gives me the option "Copy to Clipboard (Include paths)". I copy images' URL through this option and the images are usually uploading and displaying successfully to the website.
I'm trying to do the same now for a new page but that is not working. Using any option in WinSCP is not helping at all. All I get is a small icon instead of the image. But when I use FileZilla for copying the URL, the images are uploading and displaying successfully. BUT the problem is that the page is requesting the username and the password to display the images.
I've been googling about it and I realise that the problem could be that I need to change the FTP URL to HTTP. I tried to do it this way:
ftp://username#domain.org/domain_restore/pics/anton.jpg
to:
http://username.domain.org/anton.jpg
That is probably totally wrong? I tried some other ways but the problem is I'm only a beginner and I don't have the knowledge how to edit it or how to find out what the problem is.
I followed the instructions of someone from the support of my host and they advised me to do a restore to all my directories in the FTP manager. I did that but I feel like I messed it up because now all the folders and the directories are duplicated. Could that also be the problem?

Swapping an image during web development

I'm trying to see what a certain webpage would look like if I replaced a certain image with another. Rather than upload the image, edit the site, etc, each time I tweak it, I'd like to know if there's a way to change the image in the page to my local version while viewing the remote page.
I use Firebug for debugging web development usually, but I'm open to any other tool that might do this.
(It is absolutely impossible to search for this and find anything but questions about dynamic image swapping on a deployed website, so sorry if this is a duplicate.)
Added: I just tried substituting a file:/// URI pointing to the image (copied and pasted from the address bar after manually opening the image), and alas, it did not work — the image fails to change.
It seems to only work with the http[s] protocols (likely for security reasons). You can store your images on service like Dropbox, share the image or folder, then use the public URLs.
Really, you can use any web accessible images, so a local server would work too.
If your image is in a localhost server(not as file mind you) i think you can still put that localhost url in the firebug inspect element and it'll work.
Tried an absolute file path but it doesn't work apparently. So I guess you just have to make do with a localhost server image. That works for me
Quick and Lowtech Answer: Take a screen shot of the page open it in photoshop and drop the local image on a layer above the webpage image.
Hi if you are serving from a webserver, u probably can't point it to a file on ur local drive. Even if its localhost, u can't point to a local file c:/test.jpg for example. Its because the browser sorts of sandbox ur page so that scripts can't access local files.
One way is to upload the new file (new_file.jpg) to the webserver, give the image link an id
<img id="something1" src="test.jpg"/>
Using jQuery in the firebug watch window do
$("#something1").attr("src","new_file.jpg");
You should see the image change. If you are not using jQuery, you can use document.getElementById("something1") and get the element to modify.
Another way is to use http://makiapp.com/
You can overlay an image from you computer onto any website you look at with this. Very cool tool for lining up a comp with your code.
You can:
Drag your test image into Google Drive
Open it in a browser
Go to the actual image path
Use this path as a substitute in Firebug
It's almost as fast as working from a local drive.

Can't upload images with Magento 1.4 on Windows/IIS

Everything else works in Magento 1.4 but I can't upload images. Running on Windows/IIS. I know it isn't officially supported but seems odd that everything works but something as simple as image uploads.
Tried updating the media path and that is correct. Also updated permissions on directories, but nothing has worked.
Any other ideas to get this to work?
thanks
I've seen this problem happen when you have Basic Authentication on the entire site. Everything works, except image upload. I didn't find a solution other than removing the basic auth temporarily when needing to upload images.
Have you tried this?
http://www.magentocommerce.com/boards/viewthread/19925/
(essentially set permissions on TEMP directory where images are saved during upload)

Resources