Jump to content


Setting Image Title from the Image Original name

name title imagecrud

  • Please log in to reply
1 reply to this topic

#1 Gerson Ruiz

Gerson Ruiz

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 16 April 2014 - 08:39 PM

Help with Image Crud.

Hey guys. What I'm trying to do is to set the title for the images in a database (I'm trying to follow example 4, images with title that comes for default with the library) but I'm trying to set the title from the original name of the picture... I don't wanna do this manually because I already spent so much time renaming the images according to requirements and believe me... It's a lot of pictures. About 2,000.

 

I'm trying to Follow the code but cannot find the method in which the library does the insert in the database... Can you give me a hand with this? 



#2 Martin Lobato

Martin Lobato

    Member

  • Members
  • PipPip
  • 11 posts

Posted 17 February 2017 - 05:42 PM

Im trying to do the same thing here, Im uploading images of products, and I need this pic to have the same name as the product plus an incremental number or random I dont really care, but I need to rename them to the very same product name to identify them. with grocery crud I can do that, but only updloads one image in fact we have an excelent help on the documentation, but here on imagecrud I cannot do that.







Also tagged with one or more of these keywords: name, title, imagecrud

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users