tinyMCE add image - image

I have problem with tinyMCE. If I add image from external url (http://www.somesite.com/image.jpg) all works perfect and and the image will show in my text. But if I add an image from a folder on server, the image will not show because I use htaccess to rewrite the url.
Web domain: www.web.domain.com
If I insert image from www.web.domain.com/images/img.jpg and show this text on the page www.web.domain.com/en/Category-1/, the image doesn't show because tinyMCE adds img src as "./images/img.jpg"
Any idea if it is possible to turn this off?

Probably due to TinyMCE using relative URLs by default. Check out the FAQ entry on the TinyMCE site for the various settings that might help.

Related

Codeigniter Mpdf image not shown in header

I've a problem with mpdf and Codeigniter: i'm printing an html page right if I load just simple text.
If I add an image in my header by
$mpdf->setHTMLHeader(site_url("assets/img/my_image.jpg"));
The browser load for minutes and then download a pdf file with a red X intead of my image. It seems my image link is broken, but it's not: i've checked it.
I've thought it could be a permission issue so I changed my img folder's and files permissions to 777, but nothing has changed...
Any ideas on how to solve it?
I think that problem is in relative path for image, even if the web browser is fine with them and display the images correctly.
Try to generate a path with an absolute base URL.
<img src="full_path/assets/img/my_image.jpg', true) ?>" alt="my_image" />
Or try to use base64 image.
Also you can set debug to true and see what is error (sometimes is GD extension)
$this->_mpdf->showImageErrors = true;

How to replace the base image url by an external image url setted by an attribute in Magento 1.9

I have Magento 1.9 and I am using a remote server for the storage of images.
I created a new attribute (text field) for setting the external image url. I succeded to show the external image in the view and list/grid pages of the products but it is not efficient.
My question is :
Is there any solution to completely rewrite the base image url ? this will make the change in all Magento site without modifying the template.
From my searchs I know that images uploaded were added via addImagetoMediaGallery(...) with the file path as one of the parameters. So the idea is to find a way to rewrite (with setdata() maybe) the temp image url and so echo the external url instead of the temp image url.
You could rewrite the Helper Mage_Catalog_Helper_Image. There you could override the functions getImageFile() or setImageFile().

Remote Images not displaying after running Magmi

I've installed Magmi, configured it and installed it too
Iam able to get products into my site, BUT prob is: Iam unable to see any image, since image urls all are from remote..
My image url looks like: http://www.fashion58.com/itemimages/SMS032-navy.jpg
Even iam not sure whether to change 'image renaming' or not, BUT at end all I need is : my remore image urls should able to display in my site..
Awaiting response!
EDITED:
My feed Column names are: store,websites,type,attribute_set,is_affiliate_product,status,visibility,qty,is_in_stock,tax_class_id,weight,name,meta_keyword,description,sku,manufacturer,price,merchant_buy_link,image,main_category,color,for,shoe_type,short_description,thumbnail,category_ids,merchant_name,merchant_id,small_image
A) and Do I really need to use 'Image attributes processor' plugin inorder to display remote image urls? or else Magmi just enough to render images for remote image urls?
B) If YES for 'Image attributes processor', what settings I need to change in it?
C) What could be still wrong?
Your image URL is incorrect. It needs to be an absolute URL of an actual image (not just a page with the image embedded on it).
http://www.site.com/path/to/imagename.jpg

I have image issues Joomla Multi-Language website

This problem occurs when I'm trying to load images through flash.
For example when i'm trying to load an image in images/001.jpg , Joomla rewrites it to en/images/001.jpg. So path get changed and flash cant load the file. Anyway to fix this ?
thanks
set the image load path in the htaccess file where the URL you want.

I can't see the custom thumbnail image in Wordpress 3.3.1

I have a problem with wordpress thumb. I installed the last wordpress in localhost and I tried to create a new post with a thumb but when I save it, in the home doesn't appear this thumb.
See the following images:
http://i41.tinypic.com/ffalvk.jpg
http://i42.tinypic.com/6pn3g9.png
This is the image url:
http://localhost/wordpress/wp-content/themes/object/thumb.php?src=wordpress/wp-content/uploads/2012/04/5767096.jpg&w=300&h=200&zc=1&q=100
¿What I'm doing wrong?
Thanks :)
Just trying here as I do not know what plugin is this. However, you can try changing the image URL to this:
http://localhost/wordpress/wp-content/themes/object/thumb.php?src=http://localhost/wordpress/wp-content/uploads/2012/04/5767096.jpg&w=300&h=200&zc=1&q=100
However, I would recommend you to use WordPress in-built Feature Image function to set the thumbnail instead. That is, of course, if your theme allows it.

Resources