PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/demo2024feb.kerihosting.com/wp-content/plugins/wp-automatic/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/demo2024feb.kerihosting.com/wp-content/plugins/wp-automatic/metabox_imgs.php

<?php

// Globals
global $post;
global $wpdb;
global $camp_general;
global $post_id;
global $camp_options;
global $post_types;

global $camp_post_category;

?>

<div class="TTWForm-container" dir="ltr">
	<div class="TTWForm">
		<div class="panes">


			<div id="field1zzx-container" class="field f_100">
				<div class="option clearfix">
					<input data-controls="wp_automatic_featured_list_opt" name="camp_options[]" id="field2x-1" value="OPT_THUMB" type="checkbox"> <span class="option-title"> Set First image/Vid image as featured image </span> <br>



					<div id="wp_automatic_featured_list_opt" class="field f_100">


						<div class="option clearfix ">
							<input data-controls="wp_automatic_strip_div" name="camp_options[]" value="OPT_THUMB_STRIP" type="checkbox"> <span class="option-title"> Strip first image from the content after setting it as featured image </span> <br>

							<div class="field f_100" id="wp_automatic_strip_div">
								<div class="option clearfix">

									<input name="camp_options[]" value="OPT_THUMB_STRIP_FULL" type="checkbox"> <span class="option-title"> Actually strip the image from the content (by default the plugin filter the content on display to strip it) </span> <br>

								</div>
							</div>

						</div>

						<div class="option clearfix">
							<input name="camp_options[]" id="field2xz-1" value="OPT_THUMB_CLEAN" type="checkbox"> <span class="option-title"> Try to generate a name for the image from the post title </span>
						</div>

						<div class="option clearfix">
							<input name="camp_options[]" value="OPT_THUMB_ALT" type="checkbox"> <span class="option-title"> Set title of the image at media library from the post title. </span>
						</div>

						<div class="option clearfix">
							<input data-controls="optthumbalt" name="camp_options[]" value="OPT_THUMB_ALT2" type="checkbox"> <span class="option-title"> Set the image alt text from original alt text if exists </span>

							<div id="optthumbalt">

								<input name="camp_options[]" value="OPT_THUMB_ALT3" type="checkbox"> <span class="option-title"> If no alt exists at the source, Set the alt to the post title </span>

							</div>

						</div>

						<div class="option clearfix">
								<input name="camp_options[]" value="OPT_PIXABAY_ALT_MAIN_KEY" type="checkbox"> <span class="option-title"> Set the keyword used to get this post as the featured image alt </span>
						</div>

						<div class="option clearfix">
							<input data-controls="minimum_image_width" name="camp_options[]" value="OPT_THUMB_WIDTH_CHECK" type="checkbox"> <span class="option-title"> Check image width and skip images with width below a specifc width in pixels </span>

							<div id="minimum_image_width">

								<input value="<?php   echo @$camp_general['cg_minimum_width']   ?>" max="1000" min="0" name="cg_minimum_width" id="cg_minimum_width_f" required="required" class="ttw-range range" type="range">

							</div>

						</div>


						<input data-controls="wp_automatic_featured_list" name="camp_options[]" id="field2x-1" value="OPT_THUMB_LIST" type="checkbox"> <span class="option-title"> Set random featured image if no image exists in the content </span> <br>

						<div id="wp_automatic_featured_list" class="field f_100">
							<label for="field6"> Image list one image url per line </label>

							<textarea name="cg_thmb_list"><?php   echo @$camp_general['cg_thmb_list']?></textarea>

							<input name="camp_options[]" value="OPT_THUMB_LIST_FORCE" type="checkbox"> <span class="option-title"> Force using these images and ignore source found images </span>

						</div>

						<div class="option clearfix">
							<input name="camp_options[]" value="OPT_THUM_NELO" type="checkbox"> <span class="option-title"> Don't save the image to my server, I will use <a href="https://wordpress.org/plugins/featured-image-from-url/" target="_blank">this free plugin</a> to display the featured image from its source
							</span>
						</div>

						<div class="option clearfix">
							<input name="camp_options[]" value="OPT_THUM_NOTYPE" type="checkbox"> <span class="option-title"> Do not validate content-type when downloading the image (Not recommended) </span>
						</div>

						<div class="typepart Feeds Multi  option clearfix">
							<input data-controls="og_image_reverse_order" name="camp_options[]" value="OPT_FEEDS_OG_IMG" type="checkbox"> <span class="option-title"> Extract the image from the og:image tag (used for facebook thumb) </span>

							<div id="og_image_reverse_order">
								<input name="camp_options[]" value="OPT_FEEDS_OG_IMG_REVERSE" type="checkbox"> <span class="option-title"> Skip the og:image if the content already contains an image. </span>

							</div>


						</div>

						<div class="option clearfix">
							<input name="camp_options[]" value="OPT_THUM_MUST" type="checkbox"> <span class="option-title"> If it was not possible to set a featured image, set the post status to pending </span>
						</div>

						<div class="option clearfix">

							<input data-controls="wp_automatic_pixabay" name="camp_options[]" value="OPT_PIXABAY" type="checkbox"> <span class="option-title"> Set a featured image from PixaBay for a specific keyword </span> <br>

							<div class="field f_100" id="wp_automatic_pixabay">
								
								
							<div id="wp_automatic_pixabay_keyword" class="field f_100">
								<label> Keyword for the search </label> <input value="<?php   echo @$camp_general['cg_pixabay_keyword']  ?>" name="cg_pixabay_keyword" type="text">
								<div class="description">If this post was generated a keyword, you can use [keyword] tag in this box to substitute with the tag used to get the post</div>
							</div>
							
							<div class="field f_100">
								
								<div class="option clearfix">
									<input name="camp_options[]" value="OPT_PIXABAY_FORCE" type="checkbox"> <span class="option-title"> Force using PixaBay images and ignore source found images (By default, PixaBay image if no image found to set) </span>
								</div>

								<div class="option clearfix">
									<input name="camp_options[]" value="OPT_PIXABAY_ALT" type="checkbox"> <span class="option-title"> Set the keyword used to get this image as the featured image alt </span>
								</div>



								<div class="option clearfix">

									<input data-controls-r="wp_automatic_pixabay_keyword" name="camp_options[]" value="OPT_PIXABAY_TITLE" type="checkbox"> <span class="option-title"> Find the keywords from the post title and call PixaBay every time to get an image </span>
									<div class="description" style="margin-left:30px"><small>**[Not recommended] This option may return irelevent images because PixaBay expects a single word so if your title contains "pick a car", the plugin will search for "pick" which may retrun an image of flower picking</small></div>


								</div>
								
							</div>
							
							</div>


						</div>

					</div>

				</div>
			</div>



			<div id="field1zzxz-container" class="field f_100">
				<div class="option clearfix">
					<input data-controls="wp_automatic_clean_imgs" name="camp_options[]" id="field2xz-1" value="OPT_CACHE" type="checkbox"> <span class="option-title"> Download images from the post content to my server </span> <br>

					<div id="wp_automatic_clean_imgs" class="field f_100 ">

						<div class="option clearfix">
							<input name="camp_options[]" id="field2xz-1" value="OPT_CACHE_CLEAN" type="checkbox"> <span class="option-title"> Try to generate names for images from the post title </span>
						</div>

						<div class="option clearfix">
							<input name="camp_options[]" value="OPT_FEED_SRCSET" type="checkbox"> <span class="option-title"> Don't strip srcset attributes from images </span> <br>
						</div>

						<div class="option clearfix">
							<input name="camp_options[]" data-controls="wp_automatic_media_div" value="OPT_FEED_MEDIA" type="checkbox"> <span class="option-title"> Add the images to the media library as well (Not recommended) </span> <br>

							<div class="field f_100" id="wp_automatic_media_div">
								<div class="option clearfix">

									<input name="camp_options[]" value="OPT_FEED_MEDIA_ALL" type="checkbox"> <span class="option-title"> Allow all thumbnail sizes generation (Not recommended) </span> <br>

								</div>

								<div class="description">Use on your own peril, This option takes longer excusion time, many unnecessary DB records and stored files</div>

							</div>


						</div>

					</div>



				</div>
			</div>


			<div class="field f_100">
				<div class="option clearfix">
					<input data-controls="wp_automatic_gallery_create" name="camp_options[]" value="OPT_GALLERY_ALL" type="checkbox"> <span class="option-title"> Make all images from extracted content as a WordPress Gallery (Images will be downloaded) </span> <br>

					<div id="wp_automatic_gallery_create" class="field f_100 ">

						<div class="option clearfix">

							<input name="camp_options[]" value="OPT_FEED_GALLERY_DELETE" type="checkbox"> <span class="option-title"> Remove the images from the post content after adding the gallery </span> <br>

						</div>

						<div class="option clearfix">

							<input name="camp_options[]" value="OPT_FEED_GALLERY_LIMIT" type="checkbox"> <span class="option-title"> Add the gallery even if there is only one image available </span> <br>

						</div>

						<div class="description">*By default, the gallery will be added to the top of the post content and if you want to change the location, add the tag [the_gallery] anywhere in the "Post text template" above.<br><br>*Tip: if you want all galleries on your site to display a lightbox (user clicks the thumbnail to view a larger sized image), just install <a target="_blank" href="https://wordpress.org/plugins/gallery-lightbox-slider/">this free plugin</a></div>

					</div>

				</div>
			</div>

			<div class="field f_100">
				<div class="option clearfix">
					<input name="camp_options[]" value="OPT_CACHE_REFER_NULL" type="checkbox"> <span class="option-title"> When loading images, set the refer value to null (no refer) </span> <br>
				</div>
			</div>



			<div class="clear"></div>
		</div>
	</div>
</div>