ניהול תמונות במערכת סימפל-ג’ו ושילוב התמונות בתכני האתר

  • פוסט זה מנסה לפשט את כל נושא ניהול התמונות באתר – בין אם מדובר בתמונות הגלריות או בתמונות בעמודי האתר השונים (ושילובן בתכנים בעזרת העורך הויזואלי – סרגל ה- wysiwyg )

    בראש וראשונה חשוב להבין דבר אחד בסיסי – על מנת לשלב תמונות באתר הם חייבות להימצא (להישלח) על השרת שעליו יושב האתר !!!
    רק לאחר שהתמונות נמצאות על השרת ניתן לשלב אותן בתכנים.

    למרות שהפעולה ממש לא מסובכת, אני אחלק את ההוראות לשניים:

    1. שליחת התמונות אל השרת באמצעות מינהלת המדיה (איזור ה”קבצים” שבתפריט העליון במינהלת האתר).
    2. שילוב התמונות בתכני האתר / בגלריה באמצעות העורך הויזואלי.

    =========================================

    שליחת התמונות אל השרת:

    לשם שליחת התמונות אל השרת יש להיכנס אל מינהלת הקבצים (מינהלת המדיה) – לחיצה על “קבצים” שבתפריט העליון (כמו בתמונה)

    בעמוד הכניסה למינהלת הקבצים מוצגת רשימת הקבצים והספריות שעל השרת, ניתן כאן לנהל קבצים וספריות ומומלץ לרכז קבצי תמונות בספריות בצורה מסודרת, אחרת מהר מאד לא מוצאים את הידיים והרגליים בין קבצים שכבר אינם רלבנטיים לבין קבצים שעדיין בשימוש.
    חשוב מאד מאד מאד לזכור  – שמות ספריות ושמות קבצים חייבים להכיל רק אותיות לטיניות , מספרים ומקפים ( _ – ) – ללא רווחים, ללא אותיות עבריות וללא סימנים מיוחדים כמו פסיקים, נקודות וכו’.

    בתמונה הבאה רואים כמה ספריות ראשיות, לחיצה עליהן מכניסה פנימה – אל ספריות המשנה ….. אם למשל רוצים להוסיף תמונות אל אחת הגלריות – נכנסים אל ספריית ה- galleries על ידי לחיצה על שמה , ובתוכה נכנסים אל הספרייה המתאימה:


    רק כאשר נמצאים בספריה המתאימה שאליה רוצים לשלוח את התמונות , לוחצים על הקישור “upload files and/or images” שבימין העמוד (מוצג בתמונה שלמטה):

    בלחיצה על הקישור תיפתח תיבת דיאלוג מהמחשב המקומי שלך ותאפשר לבחור קבצים ממחשבך (נין לבחור יותר מקובץ אחד) אשר לאחר בחירה ו”אישור” יישלחו אל ספריית השרת ( פס התקדמות נפרד יוצג לכל אחת מהתמונות שבחרת )

    בסיום – התמונות נמצאות על השרת וניתן לשלב אותן בתכני האתר (כולל בגלריות השונות של האתר).

    מינהלת הקבצים מאפשרת כמובן פעולות נוספות כמו : להציג את התמונות, לקבל את הכתובת המדוייקת שלהן וכו’, אבל זה פחות רלבנטי לעניינינו ואינני רוצה לסבך את ההסבר … רצוי בהזדמנות ל”חקור קצת” את האיזור אם רוצים לעשות דברים על הצד הטוב יותר …

    שילוב התמונות בתכני האתר :

    כאשר נמצאים בעמודי התוכן או המיקומים נוספים באתר (ניהול התבנית / עמוד הכניסה וכו’) נתקלים בסרגל העריכה הויזואלי שבראש שדה הזנת התוכן.
    להוספת תמונה באמצעות הסרגל, יש להציב את הסמן באיזור בו רוצים את התמונה, וללחוץ על כפתור הוספת התמונה ( מסומן באדום בתמונה שמתחת)

    לחיצה על כפתור ה”תמונה” – תפתח את תיבת הגדרות התמונה, שבו יש ללחוץ על “סייר השרת על מנת לבחור את התמונה הרצויה (  )
    לחיצה על הכפתור תפתח תיבת בחירת תמונה מתוך ספריית המדיה – עם תצוגה מוקטנת של התמונות שעוזרת להבין באיזו תמונה מדובר …
    לחיצה על התמונה הנכונה תבחר אותה ותסגור את הדיאלוג, כעל נשאר רק לסמן אם התמונה תיושר לצד כלשהו וכדומה – מה שמוצג בתמונה הבאה:

    ** הסבר מפורט יותר על שימוש בתיבת דיאלוג התמונות, תוכלו לראות בתגובה שמתחת

    לאחר קביעת ההגדרות הרצויות (אין תחליף ל”ניסוי וטעייה” – לכן מומלץ פשוט לנסות את ההגדרות השונות על על עמוד נסיון כלשהו באתר) , יש פשוט ללחוץ על כפתור ה”אישור” הירוק, והתמונה משולבת בתוכן האתר.

  • #206עריכה | העברה | פיצול | מחיקה | הודעת זבל | תגובה

    צביקה

    מנהל בפורום
    (85.64.42.170)

    בתור התחלה, ודאי תשמחו לדעת כי עזרה באיתור תמונות לאתר האינטרנט שלכם תמצאו כאן: אתרים להורדה או קניה של תמונות.

    עורך CKEditor מאפשר לכם לשלב תמונות בעמודי אתרכם בצורה קלה ואינטואיטיבית:

    על מנת להכניס תמונה לאיזור התוכן יש ללחוץ על כפתור Image בסרגל הכלים.

    , The Image Properties dialog window that will open lets you set configuration options that define image source, its size, display properties, or other advanced properties.

    The Image Properties dialog window includes four tabs that group image options:

    For general information on using dialog windows please refer to the Dialog Windows section of the User’s Guide.

    Image Info

    The Image Info tab is the default tab that opens after you press the Image button on the toolbar. It allows you to set the image URL and configure the way it will appear in the document.

    Image Info tab of the Image Properties window

    Below is an overview of all Image Info tab elements:

    • URL – the web address of the image. The image may be located on the same server as the web site you are currently in or on an external server.
      • External server: If you want to use an external address, use the full absolute path.Example:

        http://example.com/image1.jpg

      • Local server: If the image is located on the same server, you can use a relative path that omits the domain name and starts with a slash.Example:

        /images/image2.jpg

        If CKEditor is integrated with a file browser (like CKFinder), you can also use the Browse Server button to select an image from the ones that are available on the server.

    • Alternative Text – a short textual description of the image that tells users with assistive devices (like screen readers) what the image is about. You should always provide your images with meaningful alternative text in order to make it accessible to users with disabilities.
    • Width – the width of the image in pixels. By default this is the size of the original image.
    • Height – the height of the image in pixels. By default this is the size of the original image.
    • Border – the size of the solid border around the image in pixels.
    • HSpace – the horizontal spacing (or margin) between the image border (if present) or the image itself and other document elements that surround the image, in pixels.
    • VSpace – the vertical spacing (or margin) between the image border (if present) or the image itself and other document elements that surround the image, in pixels.
    • Align – the alignment of the image in the document. Available options are Right and Left.
    • Preview – a preliminary view of the selected image formatted according to the options chosen on the left.

    Image manipulation

    With CKEditor you do not have to worry about resizing your image.

    If the image is too big, you can alter its dimensions by entering new values into the Width and Height fields. By default the image ratio is locked, which you can see thanks to a Lock button. This means that when you change one of the size values (width or height), the other one will be adjusted automatically.

    If you want to freely modify both dimensions, click the Lock button in order to unlock the ratio. The button will now change to Unlock and modification of one dimension will not automatically cause the other one to be adjusted. To lock the image ratio again, click the Unlock button once more.

    You can easily return to original image size by pressing the Reset Size button. This will reset the image size; the original width and height will now appear in appropriate text boxes.

    Link

    The Link tab lets you assign a link to an image inserted into the document, effectively converting the image into a clickable link. The link can point to any kind of object available in the Internet, like a simple URL address, a PDF document, or an online video.

    This might prove especially useful if, for example, you want to add a thumbnail that would lead the reader of your document to a full-size copy of the image or add a company logo and point to its website.

    Link tab of the Image Properties window

    To use the Link functionality, first you need to insert an image into a document using the Image Info tab. After you configure the display options, switch to the Link tab and configure the image target using the available options.

    Below is the overview of all Link tab elements:

    • URL – the web address that the image should be pointing at. This may be a plain website address, an image, or other file that is located on the same server as the web site you are currently in or on an external server.
      • External server: If you want to use an external address, use the full absolute path.Example:

        http://example.com/

        http://example.com/largeimage1.jpg

      • Local server: If the target location is on the same server, you can use an absolute path that omits the domain name and starts with a slash.Example:

        /howto/images

        /images/largeimage2.jpg

        If CKEditor is integrated with a file browser (like CKFinder), you can also use the Browse Server button to select an image or a file from the ones that are available on the server.

    • Target – the window where the assigned link will open after clicking the image. You can choose between New Window (_blank), Topmost Window (_top), Same Window (_self), or Parent Window (_parent).
    important note

    If you want to edit an image that is connected to a link, use the context menu and choose the Image Properties option. The Image Properties window will let you modify both the image and the link that it is pointing to. If you double click such image instead, you will open the Link dialog window that will only allow you to edit the link properties and not the image itself.

    Upload

    The Upload tab of the Image Properties dialog window allows you to send your own images to the server. It is only visible if the server accepts files uploaded by the users and CKEditor is integrated with a file browser (like CKFinder).

    Upload tab of the Image Properties window

    To upload an image file, click the file input field or the Browse button next to it. When the file browser of your operating system opens, navigate to an appropriate folder and choose a file by double clicking it or using the Open button. To send the file to the server, click the Send it to the Serverbutton of CKEditor.

    Advanced

    The Advanced tab lets you configure additional image options such as assign it an ID, a class, a longer description, a tooltip, or CSS style properties. It is meant for advanced users with knowledge of HTML as well as CSS, and gives nearly endless possibilities as far as the presentation of the image is concerned.

    Advanced tab of the Image Properties window

    Below is the overview of all Advanced tab elements:

    • Id – a unique identifier for an image element in the document (id attribute).
    • Language Direction – the direction of the text: left to right (LTR) or right to left (RTL) (dir attribute).
    • Language Code – the language of the image element specified according to RFC 1766 (lang attribute).
    • Long Description URL – the web address of an HTML page containing a longer description of the image (longdesc attribute).
    • Stylesheet Classes – the class of the image element (class attribute). Note that an image element might be assigned more than one class. If this is a case, separate class names with spaces.
    • Advisory Title – the text of the tooltip that is shown when the mouse cursor hovers over the image (title attribute).
    • Style – CSS style definitions (style attribute). Note that each value must end with a semi-colon and individual properties should be separated with spaces

« חזרה אל מאגר המידע