MG 1.1 Media Title Value not to show up ONLY for Image Uploads

LaxmiSathy

Member
Hello,
When users upload image in "Add Media" page I do not want the image title to show up but I want the text "Enter title..." to show up. I would want users to give appropriate titles for their image uploads.
media_title.webp
I understand that I could do it by editing the template - "xengallery_media_add_item" where

Code:
<input type="text" class="textCtrl TitleInput" name="{$nameField}[media_title]" value="{$media.media_title}" placeholder="{xen:phrase xengallery_enter_title}..." maxlength="{$xenOptions.xengalleryMaxTitleLength}" data-filename="{$media.filename}" />

replaced as :
Code:
<input type="text" class="textCtrl TitleInput" name="{$nameField}[media_title]"  placeholder="{xen:phrase xengallery_enter_title}..." maxlength="{$xenOptions.xengalleryMaxTitleLength}" data-filename="{$media.filename}" />

When I do the above template edit, it affects the Video Embed as well. But for video embed I would want the value for the media title to show up when users enter the video urls.

How do I do it?
 
Top Bottom