$post_id, 'provider' => $provider]); return 0; }
$att_id = self::attach($path, $post_id, $title);
if (!$att_id) @unlink($path);
return $att_id;
}
/* ---- Providers ---- */
private static function fetch_pollinations(string $title, string $style): string|false {
$map = ['photo'=>'realistic high quality photo','illustration'=>'digital illustration',
'artistic'=>'artistic painting','3d'=>'3D render','flat'=>'flat design vector art'];
$clean = preg_replace('/[^\p{L}\p{N}\s]/u', ' ', mb_substr($title, 0, 80));
$prompt = ($map[$style] ?? 'realistic high quality photo') . ', ' . trim($clean) . ', professional, no text, no watermark';
$seed = abs(crc32($title . time())) % 99999;
$url = self::POLLINATIONS_BASE . urlencode($prompt) . '?seed=' . $seed . '&width=1200&height=630&nologo=true&model=flux';
return self::download_image($url, $title);
}
private static function fetch_unsplash(string $title, string $api_key): string|false {
if (!$api_key) { ACI_Logger::warn('ImageGen: Unsplash API key missing'); return false; }
$keyword = urlencode(mb_substr($title, 0, 50));
$api_url = "https://api.unsplash.com/photos/random?query={$keyword}&orientation=landscape&content_filter=high";
$resp = wp_remote_get($api_url, [
'timeout' => 20, 'sslverify' => false,
'headers' => ['Authorization' => 'Client-ID ' . $api_key, 'Accept-Version' => 'v1'],
]);
if (is_wp_error($resp)) { ACI_Logger::error('ImageGen Unsplash', ['err' => $resp->get_error_message()]); return false; }
$data = json_decode(wp_remote_retrieve_body($resp), true);
$img_url = $data['urls']['regular'] ?? ($data['urls']['full'] ?? '');
if (!$img_url) { ACI_Logger::warn('ImageGen: Unsplash no URL', ['resp' => substr(wp_remote_retrieve_body($resp), 0, 200)]); return false; }
return self::download_image($img_url, $title);
}
private static function fetch_pexels(string $title, string $api_key): string|false {
if (!$api_key) { ACI_Logger::warn('ImageGen: Pexels API key missing'); return false; }
$keyword = urlencode(mb_substr($title, 0, 50));
$api_url = "https://api.pexels.com/v1/search?query={$keyword}&per_page=1&orientation=landscape";
$resp = wp_remote_get($api_url, [
'timeout' => 20, 'sslverify' => false,
'headers' => ['Authorization' => $api_key],
]);
if (is_wp_error($resp)) { ACI_Logger::error('ImageGen Pexels', ['err' => $resp->get_error_message()]); return false; }
$data = json_decode(wp_remote_retrieve_body($resp), true);
$img_url = $data['photos'][0]['src']['large2x'] ?? ($data['photos'][0]['src']['large'] ?? '');
if (!$img_url) { ACI_Logger::warn('ImageGen: Pexels no URL', ['resp' => substr(wp_remote_retrieve_body($resp), 0, 200)]); return false; }
return self::download_image($img_url, $title);
}
/* ---- Shared helpers ---- */
private static function download_image(string $url, string $title): string|false {
$resp = wp_remote_get($url, [
'timeout' => 45, 'redirection' => 10, 'sslverify' => false,
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36',
'headers' => ['Accept' => 'image/webp,image/png,image/jpeg,image/*'],
]);
if (is_wp_error($resp)) { ACI_Logger::error('ImageGen download', ['err' => $resp->get_error_message()]); return false; }
if ((int)wp_remote_retrieve_response_code($resp) !== 200) { ACI_Logger::warn('ImageGen: non-200', ['code' => wp_remote_retrieve_response_code($resp)]); return false; }
$body = wp_remote_retrieve_body($resp);
if (strlen($body) < 1000) return false;
$ext = self::detect_ext($body);
if (!$ext) return false;
$upload = wp_upload_dir();
if (!empty($upload['error']) || !wp_mkdir_p($upload['path'])) return false;
$slug = sanitize_title(mb_substr($title, 0, 40)) ?: 'image';
$path = trailingslashit($upload['path']) . $slug . '-' . time() . '.' . $ext;
if (file_put_contents($path, $body) === false) return false;
return $path;
}
private static function detect_ext(string $body): string|false {
$h = substr($body, 0, 12);
if (str_starts_with($h, "\xFF\xD8\xFF")) return 'jpg';
if (str_starts_with($h, "\x89PNG\r\n\x1A\n")) return 'png';
if (str_starts_with($h, 'RIFF') && substr($h, 8, 4) === 'WEBP') return 'webp';
if (str_starts_with($h, 'GIF8')) return 'gif';
return false;
}
private static function attach(string $path, int $post_id, string $title): int {
require_once ABSPATH . 'wp-admin/includes/image.php';
require_once ABSPATH . 'wp-admin/includes/file.php';
require_once ABSPATH . 'wp-admin/includes/media.php';
$upload = wp_upload_dir();
$filetype = wp_check_filetype(basename($path));
if (empty($filetype['type'])) $filetype['type'] = 'image/jpeg';
$att_id = wp_insert_attachment([
'post_mime_type' => $filetype['type'],
'post_title' => sanitize_text_field($title),
'post_content' => '',
'post_status' => 'inherit',
'guid' => str_replace($upload['basedir'], $upload['baseurl'], $path),
], $path, $post_id);
if (is_wp_error($att_id)) { ACI_Logger::error('ImageGen attach', ['err' => $att_id->get_error_message()]); return 0; }
$meta = wp_generate_attachment_metadata($att_id, $path);
if ($meta) wp_update_attachment_metadata($att_id, $meta);
set_post_thumbnail($post_id, $att_id);
return $att_id;
}
}
])
}
}
])
}
])
}
])
}
}
}
}
}
Selinus Ancient City Holiday Travel Guide
October 16, 2021
Located on a cape called Kale Tepe in the Pamphylia region, on the mountainous Cilicia coast, to the south of where the stream of the same name flows into the sea, the city is located 3 km southwest of today’s Gazipaşa and 40 km southeast of Alanya. It was named as the western border of Pirindu King Appuasu (557/6 BC) and is an important port city providing the sea connection to Cyprus. WORK.
After the death of Roman Emperor Trajan in Selinus on his way back from the Parther Expedition in 117, the city changed its name to Trajanopolis. Emperor Valirian’s A.D. After his imprisonment in 260, it was occupied by King Sapur I. It is also counted among the Isaura cities in Hierocles. I. It was clearly worn out by raids from Isaura around A.D. 450.
In order to protect against other attacks, a church was built in sacred Thekla over the entrance of the castle on the hill. The settlement, which is on a high island, descends to the sea in the rocky south. The pre-Roman settlement was probably on the southwestern edge, near the rocky headland. During the early Roman period, it expanded towards the beach plain across the winding Musa Stream (Selinus Potamos).
The change of the stream bed in small areas many times eroded the Roman period city area in sections. It is possible to see the ruins of a two-room bath with a barrel vault where the Selinus (Hacımusa) Stream flows into the sea. Although the columns of the seaside agora have disappeared, traces of stylobates can be seen.
It is possible to see the ruins of a two-room bath with a barrel vault where the Selinus (Hacımusa) Stream flows into the sea. Although the columns of the seaside agora have disappeared, traces of stylobates can be seen. When you go east from the agora, you come across a building (church) with an apse. It is highly likely that this structure was built on an old temple. There is a monumental building to the east of the church.
It is the only Islamic structure in the city and the area around the entrance gate is decorated with Seljuk Period motifs. It is thought that these ruins belong to a mansion. The tomb structures in the city’s necropolis are monumental tombs with arches and barrel vaults, and they reveal the burial customs of the Cilicia Region in the most beautiful way. Some of the city’s aqueducts have survived to the present day.
Roman Emperor Trajan died in this city while returning from the Parthian expedition and his ashes were taken to Rome.
The ruins date back to the Roman, Byzantine and Medieval Periods. The structures, streets, houses and cisterns that have survived to this day partially date back to the Early Ottoman period. In the plain, between the mountains and the stream, there is a large bath, an odeion and a large area from the Roman period. The financial source of the new buildings must have come from the imperial palace.
However, apart from a small necropolis, only an Aquaduct (aqueduct), a theater and a basilica remain. Although the buildings in the square today belong to the Seljuk period, the marble spolia pieces indicate that a monumental building in the Corinthian order stood there. To the southwest of the ruins, on the edge of the imperial necropolis, there is a three-naved basilica from the Early Byzantine period.
Numerous imperial period tomb houses, some with inscriptions on their doors, are located irregularly in the tea bed. There is a small church from the middle Byzantine period in the necropolis.
At the top of the rocky hill is a castle whose current state probably dates back to the early Ottoman period.
antiquegezikurbanselinustatil
passenger
Anywhere you don’t feel is far away.
Post navigation
PrevNext
Similar Articles
Uşak Ancient City – Blaundos (Blaunda)
Kedrai – Kedreai, Kedreiai – Sedir Island Trip
Knidos Datça Travel Guide
Ancient Cities Around Bodrum Travel Guide
Leave a replyCancel replyYour email address will not be published.
Required fields are marked *Comment * Name *
Email *
website
Δ
document.getElementById( “ak_js_1” ).setAttribute( “value”, ( new Date() ).getTime() );
Good Introduction
Log in
Username:
Password:
remember me
Log in
Sign up
lost password
New Articles
subartramer
How to Make an Open Computer Case?
TRANSPORT OF RESPIRATORY GASES (O2-CO2) IN BLOOD
HIP JOINT: BONES AND LIGAMENTOUS SYSTEM
OVERVIEW OF CELL STRUCTURE
Current issues
I am a 4th year midwifery student and I need a scholarship.
All mimsy were the borogoves, And the mome raths outgrabe. http://biriyilik.com
Kayseri Kahraman Maraş Malatya Adıyaman Gazi Antep Urfa Earthquake Risk
Possible Earthquake in the Sea of Marmara May Affect Depending on Its Size
Live Earthquake Information
Forums
Those Who Want to Stay in Nature
Literature Club
Those Who Ask Where Is The Old Music?
News
Homework Resource Repository
Travel Routes
Technology and Science Club
Those who want to help
Help Requests
Assistance Requests
Those Who Want to Help
]]>The distance to Termessos from here is 9 km. To visit Termessos, you need some time and a little love for walking. Because the city is located in a completely mountainous and rugged area.
The people of Termessos are called Solyms. Unlike other ancient cities, Solyms are not tribes that came from the sea. They are entirely of Anatolian origin. The known history of Termessos dates back to Alexander the Great in B.C. It begins with the siege of Termessos in 333. Alexander could not capture this city, which he compared to a hawk’s nest. Termessos I.S. It survived until the 5th century.
City Walls, Hadrian’s Gate, Water Cisterns, Theatre, Gymnasium, Agora, Odeon and Hereon are some of the important works of the city. The cemetery spread over a wide area and monumental tombs such as Alketas, Agatemeros and Arslanlı Tomb attract everyone’s admiration.
ARIASSOS
At approximately the 48th km of the Antalya-Burdur highway, before reaching the mountain, turn left and reach Ariassos with a 1 km road. Ariassos, an ancient mountain city, was founded in a valley dominating the surroundings. It is a city worth seeing with its entrance gate, baths, rock tombs and tomb monuments.
antiquetravelcitytravelholitermessos
]]>Iasos Ancient City Milas Travel Guide
April 4, 2022
28 km from Milas. It was built on a peninsula surrounded by the sea on three sides in Kıyıkışlacık Village. Iasos, located on the opposite shore of Güllük in Mandalya Bay, is a small settlement established on and around the peninsula where Kıyıkışlacık (Asınkurin) village is located. According to legend, Iasos, founded by communities coming from Argos during the Milen period, was previously an island.
The oldest settlement in the city, which became a peninsula as alluviums filled in over time, dates back to B.C. It has been determined that it dates back to the end of the 3rd millennium. Important buildings of the ancient city are located on this peninsula. The great wall, aqueducts, tombs and the structure called the fish market are located outside the city walls.
The people of Iasos, who were engaged in fishing and trade years ago because there was little agricultural land, continue their old traditions today. However, tourism, real estate and farming and fishing have now been added to the above mentioned fishing and trade.
Iassos, where transportation has become easier with the completion of Güllük airport, looks like an open-air museum with its historical features and a fish paradise with its fish farms. The most important feature of Iassos, which also has wetlands fed by the tributary of the Menderes River, is that it has a protected “Bird Sanctuary” within its borders.
The visitors of the Güllük reeds and bird sanctuary in Iasos include coots, shepherds, mallards, pelicans and herons; It attracts hundreds of local and foreign tourists to the region. In addition to a quiet and peaceful holiday, Kıyıkışlacık beach also offers spearfishing opportunities to its enthusiasts.
Iasos, which is also one of the most important yacht stops in the Aegean, is considered the biggest rival of Bodrum and Güllük regions as it is a holiday destination that can be reached both by land and sea. Both Iassos and Zeytinli are building rapidly. 2000 residences have been completed in the rapidly developing sites in the charming and historical residential area that combines all this beauty. Some of them are under construction.
Some buildings look abandoned. 40% of the finished buildings were filled by summer residents. Housing prices vary between 80-150 billion as of July 2007.
Pages: 1 2 3 4
antiquetravelguidepicturetravelholiday
passenger
Anywhere you don’t feel is far away.
http://www.biriyilik.com
Post navigation
PrevNext
Similar Articles
Uşak Ancient City – Blaundos (Blaunda)
Kedrai – Kedreai, Kedreiai – Sedir Island Trip
Knidos Datça Travel Guide
Ancient Cities Around Bodrum Travel Guide
Leave a replyCancel replyYour email address will not be published.
Required fields are marked *Comment * Name *
Email *
website
Δ
document.getElementById( “ak_js_1” ).setAttribute( “value”, ( new Date() ).getTime() );
Good Introduction
Log in
Username:
Password:
remember me
Log in
Sign up
lost password
New Articles
subartramer
How to Make an Open Computer Case?
TRANSPORT OF RESPIRATORY GASES (O2-CO2) IN BLOOD
HIP JOINT: BONES AND LIGAMENTOUS SYSTEM
OVERVIEW OF CELL STRUCTURE
Current issues
I am a 4th year midwifery student and I need a scholarship.
All mimsy were the borogoves, And the mome raths outgrabe. http://biriyilik.com
Kayseri Kahraman Maraş Malatya Adıyaman Gazi Antep Urfa Earthquake Risk
Possible Earthquake in the Sea of Marmara May Affect Depending on Its Size
Live Earthquake Information
Forums
Those Who Want to Stay in Nature
Literature Club
Those Who Ask Where Is The Old Music?
News
Homework Resource Repository
Travel Routes
Technology and Science Club
Those who want to help
Help Requests
Assistance Requests
Those Who Want to Help
]]>Ancient Cities Around Bodrum Travel Guide
April 4, 2022
0
Ancient cities to visit near Bodrum.
Mandasa (Muğla-Bodrum)
It is thought that the ruins on the Türkbükü bay and Gölköy ridges in Bodrum are Madnasa, a Leleg city. Madnasa is a word derived from the Luwian language and means the city of the country “Ma”. Information about the history of the city is very limited.
We cannot find any other information in the sources except that the city, whose name is only mentioned by Pliny and Stephanos of Byzantium, paid a contribution of 2 talents to the Athens-Delos Naval Union in the 5th century B.C. The people living here were forced to migrate to Halicarnassus during the Mausallos period, and therefore the city was abandoned. No adequate research has been conducted on Madnasa.
However, the few city walls ruins on the hill, which is called the acropolis, attract attention. The walls are made of unprocessed broken stones, 1.5 m high. thick. No other remains were found in the surrounding area other than the tombs carved into the rocks.
Pages: 1 2 3 4 5 6 7 8
Bodrumegegezirehbertatil
A Favor
A person who does not make the world better is not human.
Post navigation
PrevNext
Similar Articles
Uşak Ancient City – Blaundos (Blaunda)
Kedrai – Kedreai, Kedreiai – Sedir Island Trip
Knidos Datça Travel Guide
Iasos Ancient City Milas Travel Guide
Leave a replyCancel replyYour email address will not be published.
Required fields are marked *Comment * Name *
Email *
website
Δ
document.getElementById( “ak_js_1” ).setAttribute( “value”, ( new Date() ).getTime() );
Good Introduction
Log in
Username:
Password:
remember me
Log in
Sign up
lost password
New Articles
subartramer
How to Make an Open Computer Case?
TRANSPORT OF RESPIRATORY GASES (O2-CO2) IN BLOOD
HIP JOINT: BONES AND LIGAMENTOUS SYSTEM
OVERVIEW OF CELL STRUCTURE
Current issues
I am a 4th year midwifery student and I need a scholarship.
All mimsy were the borogoves, And the mome raths outgrabe. http://biriyilik.com
Kayseri Kahraman Maraş Malatya Adıyaman Gazi Antep Urfa Earthquake Risk
Possible Earthquake in the Sea of Marmara May Affect Depending on Its Size
Live Earthquake Information
Forums
Those Who Want to Stay in Nature
Literature Club
Those Who Ask Where Is The Old Music?
News
Homework Resource Repository
Travel Routes
Technology and Science Club
Those who want to help
Help Requests
Assistance Requests
Those Who Want to Help
]]>Knidos Datça Travel Guide
April 4, 2022
0
Before entering Datça center, signs direct you to the Ancient Knidos excavation site.
We pass by the summer sites by following the signs. A large sign contains the plan and information of Old Knidos. We leave the car here and drive 50 meters towards the seashore. We walk until. The excavation site appears before us. This area is where new excavations are taking place. 50 meters from here. There is an older excavation area, some of which is protected by a roof, to the east. It is possible to walk from Datça center. 2 Km.
Residences, BC. 6th century. has also started to be used. B.C. It was largely abandoned in the middle of the 4th century. The beginning of life in Knidos coincides with these dates. The inhabitants of Old Knidos moved to Knidos. Knidos was first founded in Datça, in the place called Old Knidos/Burgas today, by the Dorians coming from the Peloponnese. Herodotus writes that the colonists came from Sparta.
Some ancient sources attribute the founding of the city to the Argos hero Triopas. The oldest traces of Knidos date back to B.C. VII. century. goes to BC. In 545, they tried to open a canal at the eastern end of the Datça peninsula and turn their country into an island against the Persian commander Harpagos, but they were not successful. They surrendered their cities without resistance.V. century.
It is also a member of the Delian Naval League. In 394 BC, Athenian admiral Conon defeated the Spartans off the coast of Knidos. BC. It came under Persian rule with the King’s Peace in 387. In 360 BC, they moved from the city of Old Knidos (Datça) to the place called Tekir Burnu today. New Knidos was built with regular planning. Hippodamos planned. BC. In 334 B.
They surrendered to Alexander without resisting. In 129 BC, it was included in the borders of the Roman Province. During the Imperial Period, it was a free city. St. POUL came to Knidos. It was a small town and episcopal center during the Christian Era. During this period, 5 churches and one chapel were built.6. Arab raids and pirate attacks in the 7th and 7th centuries spelled the end of the city and it was completely abandoned. The rest, 8th century. They migrated back to Old Knidos, where they came from.
Those left behind; They continued to operate ceramics, wine and olive oil workshops, carry out their agricultural activities and use port warehouses. The Temple of Apollo is on the Datça – Marmaris road. Datça is 5-6 Km away. If we leave it behind and continue on the road, paying attention to the left side of the road, we will see the temonos walls made of large stone blocks. Park your car and walk 5-6 m. By walking, you reach the temple area surrounded by a wire fence.
Hellenistic House (Slope Houses) The original one had two floors. Its walls are made of mud brick. That’s why it was protected by a roof to protect it from the weather. Upper floor walls, BC. II. century. It was decorated with colorful frescoes and stuccos. These decorations have been restored and are exhibited in the Bodrum Museum.
Pages: 1 2 3 4 5 6
egegeziknidosguidetravelholiday
A Favor
A person who does not make the world better is not human.
Post navigation
PrevNext
Similar Articles
Uşak Ancient City – Blaundos (Blaunda)
Kedrai – Kedreai, Kedreiai – Sedir Island Trip
Ancient Cities Around Bodrum Travel Guide
Iasos Ancient City Milas Travel Guide
Leave a replyCancel replyYour email address will not be published.
Required fields are marked *Comment * Name *
Email *
website
Δ
document.getElementById( “ak_js_1” ).setAttribute( “value”, ( new Date() ).getTime() );
Good Introduction
Log in
Username:
Password:
remember me
Log in
Sign up
lost password
New Articles
subartramer
How to Make an Open Computer Case?
TRANSPORT OF RESPIRATORY GASES (O2-CO2) IN BLOOD
HIP JOINT: BONES AND LIGAMENTOUS SYSTEM
OVERVIEW OF CELL STRUCTURE
Current issues
I am a 4th year midwifery student and I need a scholarship.
All mimsy were the borogoves, And the mome raths outgrabe. http://biriyilik.com
Kayseri Kahraman Maraş Malatya Adıyaman Gazi Antep Urfa Earthquake Risk
Possible Earthquake in the Sea of Marmara May Affect Depending on Its Size
Live Earthquake Information
Forums
Those Who Want to Stay in Nature
Literature Club
Those Who Ask Where Is The Old Music?
News
Homework Resource Repository
Travel Routes
Technology and Science Club
Those who want to help
Help Requests
Assistance Requests
Those Who Want to Help
]]>