So, I finally got this working semi-good.
I made a PHP form that has a title field, description textarea, and fileupload type.
User fills these out and hits submit.
The form is connected to a PHP Script that grabs the title, description, and image and emails it to an email address. The title is subject, the description is the body, and the image is the attachment.
The moblog brings in the content in the correct fields now too. yippee!
I have subject dropping into the title field, the body dropping into the description field, and the image dropping into its own field. I made the image field the default field.
All this is working! But there is one small problem, one problem that is so annoying and i don’t know how to fix it. I am someone out there knows how to fix this.
So, in EE CP I edit my entry to see what the data is…Here is what it looks like:
For example: https://ellislab.com/asset/images/pronet-logo/0219091509.jpg
But, in my template on the page, for whatever reason when an entry comes in through the moblog it wraps the attachment with a tag. So, in my HTML when i view the source I see this in my img=src”” tag.
<a href="http://mydomain.org/UploadFiles/filedir4/0219091509.jpg">http://mydomain.org/UploadFiles/filedir4/0219091509.jpg</a>This is causing the images to be broken. Sucks. I’m almost there.
Any advice?
p.s. I have also already set the field format type to “none”. And i set the channel option so that img urls are not allowed because i want to wrap the URLS with my own img tag. Eventually going to link up phpThumb to do some thumbnail stuff.
Thanks in advance!