From: Steve Sutton Date: Thu, 21 Feb 2019 15:16:48 +0000 (-0500) Subject: Update image tab page X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=f15956ca8e4cb20ee856312cd6e4826a71b2068c;p=WP-Plugins%2Fglm-member-db.git Update image tab page Redoing indents. Trying to update the max size. --- diff --git a/views/admin/member/memberInfo/editMediaImages.html b/views/admin/member/memberInfo/editMediaImages.html index 3be2900e..3f7a6183 100644 --- a/views/admin/member/memberInfo/editMediaImages.html +++ b/views/admin/member/memberInfo/editMediaImages.html @@ -1,22 +1,22 @@ - -

Images

-
-
-
-
-

- Best image size to provide is between 800 and 1000 pixels wide and stored as a JPG or JPEG file. - Also try to supply images that have a reasonable "aspect ratio" (not too tall, not too wide). - Files provided like this should have a file size of 100 to 250 KB. Images will be automatically - resized for use in the Web site. Images that are too large will be rejected. -

-
+{* Smarty Template for the Edit MemberInfo Images tab *} +

Images

+
+
+
+
+

+ Best image size to provide is between 800 and 1000 pixels wide and stored as a JPG or JPEG file. + Also try to supply images that have a reasonable "aspect ratio" (not too tall, not too wide). + Files provided like this should have a file size of 100 to 250 KB. Images will be automatically + resized for use in the Web site. Images that are too large will be rejected. +

-
-

Profile Image:

-
-
- {if $memberInfo.fieldData.logo} +
+
+

Profile Image:

+
+
+ {if $memberInfo.fieldData.logo}
@@ -30,32 +30,32 @@
- {/if} -
New image:
-
- - {if $memberInfo.fieldFail.logo}

{$memberInfo.fieldFail.logo}

{/if} + {/if} +
New image:
+ + {if $memberInfo.fieldFail.logo}

{$memberInfo.fieldFail.logo}

{/if}
-
-

Image Gallery

-
+
+
+

Image Gallery

+
- {if $memberInfoID} + {if $memberInfoID}
- + {* All fields with class "glm-imageDrop" are automatically processed by imageUpload.js *}
- + data-refType="{$ref_type_numb.MemberInfo}" + data-recordID="{$memberInfo.fieldData.id}" + data-maxFileSizeKB="10000" + data-allowedTypes="image/jpeg,image/png,image/gif,image/x-ms-bmp" + > + {* The contents of this div are read by imageUpload.js to use for display of upload progress. *}
- + {* Start of upload status pop-up template - Parameters are of the form "[name]" *} Uploading Image { thisFile } of { numbFiles }
@@ -73,18 +73,18 @@
Size:
{ fileSize }
Progress:
- + {* End of template *}
- + {* The contents of this div are read by imageUpload.js to use as a template for inserting a new image into the gallery area *}
- + *}
@@ -132,28 +132,28 @@
- + {* End of template *}
-
-
+
{* Overlay of parent for drag/drop detection *} +
{* Overlay for Upload Status Bars *}
Drag and drop new images here
HTML5 file drag-and-drop not supported by your browser.
Use "Browse" button above to upload an image.
No Featured Image:
 
Click images to view full size.
    - - {if $haveImageGallery} - {foreach $imageGallery as $i} - {if $i.file_name} -
  • - -
    - -
    -
    -
    + {* Note that id in li is needed for sorting *} + {if $haveImageGallery} + {foreach $imageGallery as $i} + {if $i.file_name} +
  • + +
    + +
    +
    +
    Caption: @@ -166,8 +166,7 @@
    -
    - +
    @@ -182,28 +181,22 @@ - +
    -
-
-
-
- {/if} - - - {/foreach} - {/if} +
+ {/if} + + {/foreach} + {/if} - {else} + {else} Note: Images may only be added to {$terms.term_member} profile records that have been created. You are editing information to create a new record.
After you click "Add new {$terms.term_member}" below, you may come back here to add images to the gallery. - {/if} -
+ {/if}
@@ -211,4 +204,4 @@ jQuery(function($){ // $(".glm-admin-image-featured"). }); - \ No newline at end of file +