النتائج 1 إلى 2 من 2

الموضوع: اضف جاليري الى wordpress

  1. اضف جاليري الى wordpress



    السلام عليكم ورحمة الله وبركاته
    اقدم لكم هذه الهديه المتواضعه الا وهي عمل البوم صور
    لبرنامج المقالات الرائع wordpress
    لمشاهدة المثال
    اضغط هنا
    لتحميل
    بصيغة tar.gz من هنا
    بصيغة zip من هنا
    طريقة التركيب " ياليت احد الاخوه يشرحها بطريقه سهله ..لان .. بشرحي يبي لي يومين علشان اخلص
    =============================
    طريقة التركيب
    =============================
    Extract the files somewhere.
    Edit flickr-gallery.php with your settings.

    Set FLICKR_USER_ROOT constant to your Flickr page (something like http://www.flickr.com/photos/username/ - it’s your Flickr “alias") so that the plugin can build the comments links for your photos.
    Set FLICKR_EMAIL constant to your Flickr account login (the email address you signed up with)
    Set FLICKR_PASSWORD constant to your Flickr account password
    Set FLICKR_CACHE_PATH constant to the path of your cache directory (something like /var/www/localhost/wp-content/flickr-cache/). This directory should be in your wp-content directory and must be writable by the web server/PHP.
    Optional - Set FLICKR_CACHE_EXPIRE to the number of seconds you want the cache to live for. 600 secs (10 mins) is suggested so as to not overload Flickr with API traffic and get your IP address banned.
    Do not change the API key. Also, PLEASE do not steal the API key. This one has been assigned to this plugin and Flickr uses it to track API usage. You can get your own API key here for your own projects or derivatives of this code.
    Put flickr-gallery.php in your wp-content/plugins/ directory and activate the plugin via your WP admin console.
    Copy your index.php file to gallery.php (or another filename if you want). Edit gallery.php by replacing everything inside
    <div id="content"> ... </div>with
    < ?php flickr_show_photos($_GET['album'], $_GET['photo']); ?>Make sure you still have <div id="content">. Then create links to gallery.php from wherever you want to link to it.
    Define the flickr-album, flickr-thumbnail, and flickr-title style
    classes in your style sheet. Modify the classes to fit the look and
    feel of your site. My classes look like this:
    .flickr-album {
    padding: 0;
    width: 550px;
    }
    .flickr-thumbnail {
    padding-right: 20px;
    background-color: #fff;
    border: 1px solid #a9a9a9;
    margin: 6px 6px 6px 6px;
    padding: 4px;
    margin-top: 10px;
    }
    .flickr-title {
    width: 500px;
    color: #260;
    padding-top: 6px;
    }
    If you want to use the Flickr “notes” part of the plugin you must do the following:

    Put annimg.js somewhere (I put it in my blog root).
    Add
    <script type="text/javascript" src="<?php echo get_settings('siteurl'); ?>/annimg.js">
    </script>to your gallery.php head.
    Define the a.annotation, a.annotation span, and a.annotation:hover styles in your style sheet. My classes look like this:
    a.annotation {
    position: absolute;
    border: 1px solid white;
    padding: 0;
    display: none;
    }
    a.annotation span {
    display: block;
    width: 100%;
    height: 100%;
    /* Setup opaque background in notes box with browser specific opacity
    * properties (they aren't valid CSS - sorry). If having valid CSS is
    * so important to you just get rid of the next 4 lines after these
    * comments (you'll sacrifice the opaque background in the notes
    * boxes though).
    */
    background: white;
    opacity: 0.2;
    -moz-opacity: 0.2;
    filter: alpha(opacity=20);
    }
    a.annotation:hover {
    border-color: yellow;
    }





    سالم العليلي غير متواجد حالياً


  2. #2


    ممكن الشرح يا اخواااااان؟؟؟





    __________________
    www.uae4up.com
    أسياد الامارات غير متواجد حالياً





ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  

أضف موقعك هنا| اخبار السيارات | حراج | شقق للايجار في الكويت | بيوت للبيع في الكويت | دليل الكويت العقاري | مقروء | شركة كشف تسربات المياه | شركة عزل اسطح بالرياض | عزل فوم بالرياض| عزل اسطح بالرياض | كشف تسربات المياة بالرياض | شركة عزل اسطح بالرياض