Buy Valium no rx
Buy Ativan with overnight delivery
Cheap Soma Fioricet
Ambien generic imprint
Purchase Lorazepam online
Ativan online canadian
Buy Lorazepam tabs
Generic Soma blogs
Adipex prescription only drug
Lorazepam with tylenol pm
Phentermine prescription dosage
Purchase Tramadol online no prescription
Phentermine prescription denver
Buy Clonazepam malaysia
Ativan prescription free
Xanax prescription drug information
Buy Phentermine 37 5 online no prescription
Cheap Xanax mastercard
Buy Ativan in canada online
Buy Tramadol without rx
Ativan prescription price
Prescription for Valium
Cheap Ambien uk
Ambien dosage 10 mg
Lorazepam with xanax
Soma prescription coupon
Generic Soma pain
Buy Lorazepam drug
Buy Zolpidem in canada
Buy Soma in louisiana
Ativan online cod
Lorazepam rx online
Phentermine online order reviews
Diazepam online no rx
Valium 4 sale
Can you buy carisoprodol online
Soma sale us
Order Clonazepam 0 5 mg
Buy Phentermine online uk
Clonazepam prescription online
Valium 5mg tablets diazepam
Buy Ativan australia
Buy Soma bicycle
Ambien prescription drug
Ambien thyroid disorder
Buy Phentermine topix
Ambien extended release generic
Buy Xanax visa
Is generic Xanax the same
Valium 5mg or 10mg
Buy Ambien in la
Prescription for Ambien doctor
Generic Ambien yahoo answers
Order Ativan here
Xanax 10 mg forum
Purchase Xanax
Adipex with an online prescription
Lorazepam with buspirone
Generic Zolpidem no prescription
Ambien generic over counter
Ambien generic doesn t work
Adipex online reviews
Lorazepam with trazodone
Prescription for Ambien doctor
Generic Modafinil
Cheap carisoprodol with c o d
Xanax 25 mg street price
Valium buys
Valium prescription children
Buy Ultram er 200
How to order Ambien from canada
Ambien prescription how to
Order Provigil from canada Modafinil
Cheap Ambien no rx
Buy Valium net
Order Lorazepam cheap
Diazepam prescription
Is there a generic for Ambien cr
Buy Ativan india
Xanax panic disorder agoraphobia
Soma prescription dosage
Clonazepam with temazepam
Purchase Phentermine uk
Clonazepam with citalopram
Buy Lorazepam cash on delivery
Generic Ativan 1 mg
Generic Ultram fibromyalgia
Buy Soma today
Lorazepam with buspirone
Ambien generic what color
Generic diazepam image
Lorazepam with chemotherapy
Buy Modafinil in europe
Buy Ativan india
Canada Provigil 100mg
Generic Ativan canada
Buy Ultram saturday delivery
Cheap Ativan online no prescription
Buy Ambien forum
Order Modafinil
Buy Ativan no prescription mastercard
Buy Klonopin generic
Lorazepam with sonata
Diazepam with pain killer
Ativan prescription dosage
Tramadol online cheap
Generic Lorazepam pills
Lorazepam prescription drug
Buy Modafinil europe
Ativan online canadian
Buy Phentermine lowest price
Generic Zolpidem no prescription
Ambien sale no prescription
Adipex online cheapest
Tramadol online consultation
Ativan prescription dosage
Generic Phentermine buy online
Buy Tramadol pets
Valium 10mg roche for sale
Soma online canadian pharmacy
Ambien generic india
Order Ambien overnight delivery
Xanax blue 10 mg
Buy Phentermine maryland
Where to get Ambien prescription
Valium no prescription cheap
Generic Tramadol made
Order Lorazepam uk
Order Soma overnight c o d
Provigil online buy
Online pharmacy Phentermine no rx
Valium dosage mg
Lorazepam online purchase
Xanax from an online doctor
Lorazepam with epilepsy
Buy Phentermine 50 mg
Phentermine prescription online canada
Price Ambien 5 mg
Adipex online overnight
Buy Lorazepam without prescriptions
Ambien cr 12.5mg
Lorazepam online purchase
Ambien omg
Provigil with ms
Generic Klonopin wafer
Buy Ambien Zolpidem
Zolpidem prescription walgreens
Xanax generalized anxiety disorder gad reviews
Ambien extended release generic
Order Klonopin with no prescription
Xanax 106 s mg
Buy Adipex p uk
Phentermine 30 mg online
Buy Lorazepam online cheap
Lorazepam rx 774
Order Adipex by phone
Lorazepam with adderall
Cheap Ativan visa
Generic Klonopin 2mg
Clonazepam with grapefruit juice
Lorazepam with n 1 on it
Lorazepam online forum
Cheap Ativan visa
Purchase Ambien uk
Buy Ativan without
Lorazepam with ibuprofen
Cheap Modafinil
10mg of Valium effect
Generic Ambien discussion
Non prescription Modafinil
Generic Ativan prices
Lorazepam without pres
Generic Ativan online
Buy Alprazolam 2mg usa
Generic Lorazepam
Generic Klonopin blue
Provigil with a prescription
Buy diazepam sleeping tablets
Buy diazepam europe
Buy Soma fabrications
Is Modafinil a prescription drug
Ativan prescription canada
Buy Ativan
Buy Soma from overseas
Sunday , 26 April 2015
Home » PHP Programming » Common Issues/Bugs » FCKEditor solution – How to store full URL for images (Show absolute path)
FCKEditor solution – How to store full URL for images (Show absolute path)

FCKEditor solution – How to store full URL for images (Show absolute path)

Hello Friends,

Today i came across a problem with FCKEditor. When i upload an image from fckeditor Browser Server option, it uploads correctly and insert image in content as well. But if i will send this content in email (for newsletter) than image will not be there as fckeditor inserts relative path in source of image. There should be a complete URL for image if you are sending this content into email. I was trying to find the way that how to insert the full url path when image uploads from FCKEditor.

I was in urgency so i found the alternative solution to make this problem fixed(solved) right away. What i have done is , find the relative path and replace it with full URL path. Look at below line which replace the absolute path inplace of relative path in image source tag.
 

$msg = str_replace('src="/userfiles/','src="http://www.example.com/userfiles/',$msg);

Thats it.

If you find any problem in this than let me know by comment.

To know more about programming,JavaScript issues,jQuery,Expression Engine,MYSQL database and Open-source, enter your email address below. We will send you free tutorials.

Enter your email address:
 
Feel free to ask any question. Just leave your comment below and we will answer your comment with in 24 hours.

About Rakshit Patel

I am PHP Freelancer, Rakshit Patel AKA WordPress Freelancer working as PHP Programmer India. I am here to share all my developing knowledge, quick coding techniques, quick solutions to save your time and help you guys for any issue or bug fixing. If you have any PHP, WordPress, Magento related work, please contact me. I am interested for the work.

9 comments

  1. Can anyone tell me how to store value of image url in fckeditor using asp.net  for ex(~/userfiles/user.jpg).
    I want to replace user.jpg with timestamp
    So pls help mw

  2. Can anyone tell me how to store value of image url in fckeditor using asp.net  for ex(~/userfiles/user.jpg).
    I want to replace user.jpg with timestamp
    So pls help mw

  3. But I don't know in which file i have to replace the following (For ex. Config.js or in another file)
    $msg = str_replace('src="/userfiles/','src="http://www.example.com/userfiles/',$msg);

  4. But I don't know in which file i have to replace the following (For ex. Config.js or in another file)
    $msg = str_replace('src="/userfiles/','src="http://www.example.com/userfiles/',$msg);

  5. @Sushant — You need put this statement  once you will get the content from FCKEditor(took content in $msg). Data from FCKEditor contains the relative path. Once you will write the above statement it will replace relative path with absolute path. So if you send the content in mail than image will appear in email.

  6. @Sushant — You need put this statement  once you will get the content from FCKEditor(took content in $msg). Data from FCKEditor contains the relative path. Once you will write the above statement it will replace relative path with absolute path. So if you send the content in mail than image will appear in email.

  7. No matter where to put this code, who can give me a tip? – I´ve searched for files with $msg, there are multiple and so don´t know to integrate to what file…

  8. Greate article. Keep writing such kind of info on your
    site. Im really impressed by it.
    Hey there, You have done a great job. I’ll definitely digg it and for my part recommend to my friends. I’m
    confident they’ll be benefited from this site.

  9. Thanks in support of sharing such a fastidious thinking, post
    is nice, thats why i have read it completely

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>