Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
ebl_BatchUpload: Image Upload Confusion
Hi guys, I am using the “ebl_BatchUpload” plug-in and it works fine.
Still I am confused about the following:
1. Why can’t I view the images on the server? I looked verywhere…
2. How do I link the image that I uploaded <txp:image id=“13” />
to an external url?
The only way I know how to do this is using Textile, but since I don’t know the image URL of the image I uploaded I don’t know how to solve this.
Thank you!!!
Dada
Offline
#2 2007-01-13 10:03:44
- aba
- Plugin Author
- Registered: 2004-04-14
- Posts: 119
Re: ebl_BatchUpload: Image Upload Confusion
interesting – if you can’t find the images on your server how do you know ebl_batchupload is working fine?
ebl_batchupload imports the images into your textpattern database – after the upload you may use all textpattern image functions (textpattern renames all imported images to the index number in the database) to show, edit or include the image in your site. Check the images tab under content (hopefully they are named such, my textpattern runs in another language than english) and you should find all the images you uploaded with ebl_batchupload.
I didn’t understand your second question, though.
Offline
Re: ebl_BatchUpload: Image Upload Confusion
Hi Aba,
“interesting – if you can’t find the images on your server how do you know ebl_batchupload is working fine?”
—>I know it’s working fine because the uploaded images are all listed under my image tab with their respective ids.
1. My first question is why I can’t see the actual images that I uploaded anywhere on the server. When I uploaded pictures before ( a while back) I could still see the actual files on the server although they were then also stored in a database.
2. Secondly, how can I link an image using only the following tag ( i.e <txp:image id=“13” />) to open an external URL?
The only way I know how to do this is to use Textile like so
see IMAGES
But since I don’t know the image path (URL) to the image on the server I can’t use this method. I don’t know hpw to be any clearer.
Is there a tag that allows for image links with images that I can only recognize by id?
Thanks,
Dada
Last edited by dada78 (2007-01-14 16:53:40)
Offline
Re: ebl_BatchUpload: Image Upload Confusion
@da78
Look for an image file with 13 as the filename. Textpattern renames the image files so that the filename matches the ID. For example image ID 13 would be 13.gif (assuming it was a gif file)
Now as to the whole point of renaming it to match the ID, I don’t know. I would personally prefer it to maintain the same filename.
Offline
#5 2007-01-14 10:21:32
- aba
- Plugin Author
- Registered: 2004-04-14
- Posts: 119
Re: ebl_BatchUpload: Image Upload Confusion
@dada78: I wonder how you uploaded an image into textpattern using textpattern and recognize the image name in the filesystem – afaik it used the id for the image name for ages.
check the links in your images browser right next to the right of the image. There should be textile, textpattern and xhtml. Use textile, add an colon and the url (example: !http://yoursite.com/yourimagepath/yourimage.ext!:http://somesite.com ) and you’re set.
good luck
@TheEric: I agree, especially saving images and dealing with names like somenumber.jpg is sometimes quite disturbing.
Offline
Re: ebl_BatchUpload: Image Upload Confusion
“Now as to the whole point of renaming it to match the ID, I don’t know. I would personally prefer it to maintain the same filename.”
Right, my whole problem was that I couldn’t see the images on the server right after I uploaded them (now as I checked they are all there, renamed as numbers as you said). This whole image renaming to id number was confusing to me …
Thanks all for the clarification!!!
Still it would be nicer to have – maybe in the future some time – a better image handling system. As I can’t always recall which image has what id. I know there is a plugin that shows the image under the article tab, but I installed it (and turned it on-yes) but it didn’t seem to work under textpattern 4.0.4. ???
Dada
Last edited by dada78 (2007-01-14 17:04:40)
Offline
#7 2007-01-14 20:17:31
- aba
- Plugin Author
- Registered: 2004-04-14
- Posts: 119
Re: ebl_BatchUpload: Image Upload Confusion
bas_img_selector as well as upm_img_popper do work with txp 4.0.4 – you’ll find them in this forum or at textpattern.org (there might be another one, but these two I know personally and tested both of them with 4.0.4)
Offline
Re: ebl_BatchUpload: Image Upload Confusion
Hi Aba,
yes I tried bas_img_selector twice but it doesn’t show under my article tab navi on the left as it’s supposed to. I turned it on. I turned it off. I re-installed it. Doesn’t seem to work.
I now installed the upm_img_popper which works just fine.
Thanks for the hints!
Dada
Offline
Pages: 1