mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-16 21:18:00 +00:00
added embedding code after upload of multiple images
This commit is contained in:
@@ -509,6 +509,9 @@ class PictshareModel extends Model
|
|||||||
{
|
{
|
||||||
$albumlink = DOMAINPATH.implode('/',$hashes);
|
$albumlink = DOMAINPATH.implode('/',$hashes);
|
||||||
$o.='<hr/><h1>Album link</h1><a href="'.$albumlink.'" >'.$albumlink.'</a>';
|
$o.='<hr/><h1>Album link</h1><a href="'.$albumlink.'" >'.$albumlink.'</a>';
|
||||||
|
|
||||||
|
$iframe = '<iframe frameborder="0" width="100%" height="500" src="'.$albumlink.'/300x300/forcesize/embed" <p>iframes are not supported by your browser.</p> </iframe>';
|
||||||
|
$o.='<hr/><h1>Embed code</h1><input style="border:1px solid black;" size="100" type="text" value="'.addslashes(htmlentities($iframe)).'" />';
|
||||||
}
|
}
|
||||||
|
|
||||||
return $o;
|
return $o;
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
<link rel="stylesheet" href="/css/pictshare.css">
|
<link rel="stylesheet" href="/css/pictshare.css">
|
||||||
<script src="/js/vendor/modernizr-2.6.2.min.js"></script>
|
<script src="/js/vendor/modernizr-2.6.2.min.js"></script>
|
||||||
<script type="text/javascript" src="/js/jquery-2.1.0.min.js"></script>
|
<script type="text/javascript" src="/js/jquery-2.1.0.min.js"></script>
|
||||||
|
<base target="_blank" />
|
||||||
|
|
||||||
<meta name="description" content="Free image sharing, linking and tracking">
|
<meta name="description" content="Free image sharing, linking and tracking">
|
||||||
<meta name="keywords" content="image, share, hosting, free">
|
<meta name="keywords" content="image, share, hosting, free">
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
<meta name="author" content="Haschek Solutions">
|
<meta name="author" content="Haschek Solutions">
|
||||||
<meta name="distribution" content="global">
|
<meta name="distribution" content="global">
|
||||||
<meta name="rating" content="general">
|
<meta name="rating" content="general">
|
||||||
|
<base target="_blank" />
|
||||||
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {
|
body {
|
||||||
|
|||||||
Reference in New Issue
Block a user